2 * driver/usb/usb-core.c
4 * (C) Copyright David Waite 1999
5 * based on code from usb.c, by Linus Torvolds
7 * The purpose of this file is to pull any and all generic modular code from
8 * usb.c and put it in a separate file. This way usb.c is kept as a generic
9 * library, while this file handles starting drivers, etc.
12 #include <linux/kernel.h>
13 #include <linux/config.h>
14 #include <linux/module.h>
19 #ifndef CONFIG_USB_MODULE
20 # ifdef CONFIG_USB_UHCI
23 # ifdef CONFIG_USB_OHCI
26 # ifdef CONFIG_USB_OHCI_HCD
27 int ohci_hcd_init(void);
33 #ifndef CONFIG_USB_MODULE
34 # ifdef CONFIG_USB_UHCI
37 # ifdef CONFIG_USB_OHCI
40 # ifdef CONFIG_USB_OHCI_HCD
43 # ifdef CONFIG_USB_MOUSE
46 # ifdef CONFIG_USB_KBD
49 # ifdef CONFIG_USB_AUDIO
52 # ifdef CONFIG_USB_ACM
55 # ifdef CONFIG_USB_PRINTER
58 # ifdef CONFIG_USB_CPIA
61 # ifdef CONFIG_USB_HUB
68 * Clean up when unloading the module
70 void cleanup_drivers(void)
73 # ifdef CONFIG_USB_HUB
76 # ifdef CONFIG_USB_MOUSE
87 void module_cleanup(void)