ohci-hcd.c (4a7126a25b4dfd07d61c699f724118275acc0c25) | ohci-hcd.c (6c21caa333f98e9adb93be5f01f5a4041c0d9256) |
---|---|
1/* 2 * Open Host Controller Interface (OHCI) driver for USB. 3 * 4 * Maintainer: Alan Stern <stern@rowland.harvard.edu> 5 * 6 * (C) Copyright 1999 Roman Weissgaerber <weissg@vienna.at> 7 * (C) Copyright 2000-2004 David Brownell <dbrownell@users.sourceforge.net> 8 * --- 1205 unchanged lines hidden (view full) --- 1214MODULE_DESCRIPTION(DRIVER_DESC); 1215MODULE_LICENSE ("GPL"); 1216 1217#if defined(CONFIG_ARCH_SA1100) && defined(CONFIG_SA1111) 1218#include "ohci-sa1111.c" 1219#define SA1111_DRIVER ohci_hcd_sa1111_driver 1220#endif 1221 | 1/* 2 * Open Host Controller Interface (OHCI) driver for USB. 3 * 4 * Maintainer: Alan Stern <stern@rowland.harvard.edu> 5 * 6 * (C) Copyright 1999 Roman Weissgaerber <weissg@vienna.at> 7 * (C) Copyright 2000-2004 David Brownell <dbrownell@users.sourceforge.net> 8 * --- 1205 unchanged lines hidden (view full) --- 1214MODULE_DESCRIPTION(DRIVER_DESC); 1215MODULE_LICENSE ("GPL"); 1216 1217#if defined(CONFIG_ARCH_SA1100) && defined(CONFIG_SA1111) 1218#include "ohci-sa1111.c" 1219#define SA1111_DRIVER ohci_hcd_sa1111_driver 1220#endif 1221 |
1222#ifdef CONFIG_USB_OHCI_HCD_DAVINCI 1223#include "ohci-da8xx.c" 1224#define DAVINCI_PLATFORM_DRIVER ohci_hcd_da8xx_driver 1225#endif 1226 | |
1227#ifdef CONFIG_USB_OHCI_HCD_PPC_OF 1228#include "ohci-ppc-of.c" 1229#define OF_PLATFORM_DRIVER ohci_hcd_ppc_of_driver 1230#endif 1231 1232#ifdef CONFIG_PPC_PS3 1233#include "ohci-ps3.c" 1234#define PS3_SYSTEM_BUS_DRIVER ps3_ohci_driver --- 63 unchanged lines hidden (view full) --- 1298#endif 1299 1300#ifdef TMIO_OHCI_DRIVER 1301 retval = platform_driver_register(&TMIO_OHCI_DRIVER); 1302 if (retval < 0) 1303 goto error_tmio; 1304#endif 1305 | 1222#ifdef CONFIG_USB_OHCI_HCD_PPC_OF 1223#include "ohci-ppc-of.c" 1224#define OF_PLATFORM_DRIVER ohci_hcd_ppc_of_driver 1225#endif 1226 1227#ifdef CONFIG_PPC_PS3 1228#include "ohci-ps3.c" 1229#define PS3_SYSTEM_BUS_DRIVER ps3_ohci_driver --- 63 unchanged lines hidden (view full) --- 1293#endif 1294 1295#ifdef TMIO_OHCI_DRIVER 1296 retval = platform_driver_register(&TMIO_OHCI_DRIVER); 1297 if (retval < 0) 1298 goto error_tmio; 1299#endif 1300 |
1306#ifdef DAVINCI_PLATFORM_DRIVER 1307 retval = platform_driver_register(&DAVINCI_PLATFORM_DRIVER); 1308 if (retval < 0) 1309 goto error_davinci; 1310#endif 1311 | |
1312 return retval; 1313 1314 /* Error path */ | 1301 return retval; 1302 1303 /* Error path */ |
1315#ifdef DAVINCI_PLATFORM_DRIVER 1316 platform_driver_unregister(&DAVINCI_PLATFORM_DRIVER); 1317 error_davinci: 1318#endif | |
1319#ifdef TMIO_OHCI_DRIVER 1320 platform_driver_unregister(&TMIO_OHCI_DRIVER); 1321 error_tmio: 1322#endif 1323#ifdef SM501_OHCI_DRIVER 1324 platform_driver_unregister(&SM501_OHCI_DRIVER); 1325 error_sm501: 1326#endif --- 19 unchanged lines hidden (view full) --- 1346 1347 clear_bit(USB_OHCI_LOADED, &usb_hcds_loaded); 1348 return retval; 1349} 1350module_init(ohci_hcd_mod_init); 1351 1352static void __exit ohci_hcd_mod_exit(void) 1353{ | 1304#ifdef TMIO_OHCI_DRIVER 1305 platform_driver_unregister(&TMIO_OHCI_DRIVER); 1306 error_tmio: 1307#endif 1308#ifdef SM501_OHCI_DRIVER 1309 platform_driver_unregister(&SM501_OHCI_DRIVER); 1310 error_sm501: 1311#endif --- 19 unchanged lines hidden (view full) --- 1331 1332 clear_bit(USB_OHCI_LOADED, &usb_hcds_loaded); 1333 return retval; 1334} 1335module_init(ohci_hcd_mod_init); 1336 1337static void __exit ohci_hcd_mod_exit(void) 1338{ |
1354#ifdef DAVINCI_PLATFORM_DRIVER 1355 platform_driver_unregister(&DAVINCI_PLATFORM_DRIVER); 1356#endif | |
1357#ifdef TMIO_OHCI_DRIVER 1358 platform_driver_unregister(&TMIO_OHCI_DRIVER); 1359#endif 1360#ifdef SM501_OHCI_DRIVER 1361 platform_driver_unregister(&SM501_OHCI_DRIVER); 1362#endif 1363#ifdef SA1111_DRIVER 1364 sa1111_driver_unregister(&SA1111_DRIVER); --- 15 unchanged lines hidden --- | 1339#ifdef TMIO_OHCI_DRIVER 1340 platform_driver_unregister(&TMIO_OHCI_DRIVER); 1341#endif 1342#ifdef SM501_OHCI_DRIVER 1343 platform_driver_unregister(&SM501_OHCI_DRIVER); 1344#endif 1345#ifdef SA1111_DRIVER 1346 sa1111_driver_unregister(&SA1111_DRIVER); --- 15 unchanged lines hidden --- |