patch-2.2.18 linux/drivers/usb/restart

Next file: linux/drivers/usb/rio500.c
Previous file: linux/drivers/usb/printer.c
Back to the patch index
Back to the overall index

diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/drivers/usb/restart linux/drivers/usb/restart
@@ -1,38 +0,0 @@
-#!/bin/sh
-
-ME=`basename $0`
-
-#UMOD=`lsmod | grep '^bp-mouse' | grep -v grep`
-#if test "$UMOD"; then
-#  echo "$ME: removing bp-mouse.o"
-#  if ! rmmod bp-mouse; then
-#    echo "$ME: cannot remove bp-mouse.o"
-#    exit 1
-#  fi
-#fi
-
-UPID=`ps aux | grep ohci-control | grep -v grep | awk '{print $2}'`
-if test "$UPID"; then
-  echo "$ME: killing $UPID"
-  kill $UPID
-fi
-
-UMOD=`lsmod | grep '^usb-ohci' | grep -v grep`
-if test "$UMOD"; then
-  echo "$ME: removing usb-ohci.o"
-  sleep 1
-  if ! rmmod usb-ohci; then
-    echo "$ME: cannot remove usb-ohci.o"
-    exit 1
-  fi
-fi
-
-dmesg -c > /dev/null
-
-echo "$ME: starting usb-ohci.o"
-insmod -m usb-ohci.o > usb-ohci.map
-
-sleep 1
-UPID=`ps aux | grep ohci-control | grep -v grep | awk '{print $2}'`
-if test "$UPID"; then echo "$ME: ohci-control is pid $UPID" ; fi
-

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)