patch-2.3.2 linux/drivers/usb/ohci-hcd.c

Next file: linux/drivers/usb/ohci.c
Previous file: linux/drivers/usb/inits.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.1/linux/drivers/usb/ohci-hcd.c linux/drivers/usb/ohci-hcd.c
@@ -234,10 +234,14 @@
 	return usb_dev;
 }
 
+/* FIXME! */
+#define sohci_bulk_msg NULL
+
 struct usb_operations sohci_device_operations = {
 	sohci_usb_allocate,
 	sohci_usb_deallocate,
 	sohci_control_msg,
+	sohci_bulk_msg,
 	sohci_request_irq,
 };
 
@@ -1429,7 +1433,6 @@
 #endif
 
 
- int usb_mouse_init(void); 
 #ifdef MODULE
 
 void cleanup_module(void)
@@ -1460,16 +1463,6 @@
     if (retval < 0) break;
 
     
-#ifdef CONFIG_USB_MOUSE
-		usb_mouse_init();
-#endif
-#ifdef CONFIG_USB_KBD		
-		usb_kbd_init();
-#endif		
-		hub_init();
-#ifdef CONFIG_USB_AUDIO		
-		usb_audio_init();
-#endif		
 #ifdef CONFIG_APM
 		apm_register_callback(&handle_apm_event);
 #endif
@@ -1478,12 +1471,3 @@
   }
   return retval;
 }
-
-void cleanup_drivers(void)
-{
-	 hub_cleanup(); 
-#ifdef CONFIG_USB_MOUSE
-	 usb_mouse_cleanup();
-#endif
-}
-

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