Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * OHCI HCD (Host Controller Driver) for USB. |
| 3 | * |
| 4 | * (C) Copyright 1999 Roman Weissgaerber <weissg@vienna.at> |
| 5 | * (C) Copyright 2000-2002 David Brownell <dbrownell@users.sourceforge.net> |
David Brownell | dd9048a | 2006-12-05 03:18:31 -0800 | [diff] [blame] | 6 | * |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 7 | * [ Initialisation is based on Linus' ] |
| 8 | * [ uhci code and gregs ohci fragments ] |
| 9 | * [ (C) Copyright 1999 Linus Torvalds ] |
| 10 | * [ (C) Copyright 1999 Gregory P. Smith] |
David Brownell | dd9048a | 2006-12-05 03:18:31 -0800 | [diff] [blame] | 11 | * |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 12 | * PCI Bus Glue |
| 13 | * |
| 14 | * This file is licenced under the GPL. |
| 15 | */ |
David Brownell | dd9048a | 2006-12-05 03:18:31 -0800 | [diff] [blame] | 16 | |
Libin Yang | ab1666c | 2008-08-08 15:03:31 +0800 | [diff] [blame] | 17 | #include <linux/io.h> |
Manjunath Goudar | c1117af | 2013-05-28 18:34:51 +0530 | [diff] [blame] | 18 | #include <linux/kernel.h> |
| 19 | #include <linux/module.h> |
| 20 | #include <linux/pci.h> |
| 21 | #include <linux/usb.h> |
| 22 | #include <linux/usb/hcd.h> |
| 23 | |
| 24 | #include "ohci.h" |
| 25 | #include "pci-quirks.h" |
| 26 | |
| 27 | #define DRIVER_DESC "OHCI PCI platform driver" |
| 28 | |
| 29 | static const char hcd_name[] = "ohci-pci"; |
Libin Yang | ab1666c | 2008-08-08 15:03:31 +0800 | [diff] [blame] | 30 | |
| 31 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 32 | /*-------------------------------------------------------------------------*/ |
| 33 | |
David Brownell | 931384f | 2007-04-17 13:06:29 -0700 | [diff] [blame] | 34 | static int broken_suspend(struct usb_hcd *hcd) |
| 35 | { |
| 36 | device_init_wakeup(&hcd->self.root_hub->dev, 0); |
| 37 | return 0; |
| 38 | } |
| 39 | |
Benjamin Herrenschmidt | 4302a595 | 2006-12-15 06:53:55 +1100 | [diff] [blame] | 40 | /* AMD 756, for most chips (early revs), corrupts register |
| 41 | * values on read ... so enable the vendor workaround. |
| 42 | */ |
David Brownell | 931384f | 2007-04-17 13:06:29 -0700 | [diff] [blame] | 43 | static int ohci_quirk_amd756(struct usb_hcd *hcd) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 44 | { |
| 45 | struct ohci_hcd *ohci = hcd_to_ohci (hcd); |
| 46 | |
Benjamin Herrenschmidt | 4302a595 | 2006-12-15 06:53:55 +1100 | [diff] [blame] | 47 | ohci->flags = OHCI_QUIRK_AMD756; |
| 48 | ohci_dbg (ohci, "AMD756 erratum 4 workaround\n"); |
| 49 | |
| 50 | /* also erratum 10 (suspend/resume issues) */ |
David Brownell | 931384f | 2007-04-17 13:06:29 -0700 | [diff] [blame] | 51 | return broken_suspend(hcd); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 52 | } |
| 53 | |
Benjamin Herrenschmidt | 4302a595 | 2006-12-15 06:53:55 +1100 | [diff] [blame] | 54 | /* Apple's OHCI driver has a lot of bizarre workarounds |
| 55 | * for this chip. Evidently control and bulk lists |
| 56 | * can get confused. (B&W G3 models, and ...) |
| 57 | */ |
David Brownell | 931384f | 2007-04-17 13:06:29 -0700 | [diff] [blame] | 58 | static int ohci_quirk_opti(struct usb_hcd *hcd) |
Benjamin Herrenschmidt | 4302a595 | 2006-12-15 06:53:55 +1100 | [diff] [blame] | 59 | { |
| 60 | struct ohci_hcd *ohci = hcd_to_ohci (hcd); |
| 61 | |
| 62 | ohci_dbg (ohci, "WARNING: OPTi workarounds unavailable\n"); |
| 63 | |
| 64 | return 0; |
| 65 | } |
| 66 | |
| 67 | /* Check for NSC87560. We have to look at the bridge (fn1) to |
| 68 | * identify the USB (fn2). This quirk might apply to more or |
| 69 | * even all NSC stuff. |
| 70 | */ |
David Brownell | 931384f | 2007-04-17 13:06:29 -0700 | [diff] [blame] | 71 | static int ohci_quirk_ns(struct usb_hcd *hcd) |
Benjamin Herrenschmidt | 4302a595 | 2006-12-15 06:53:55 +1100 | [diff] [blame] | 72 | { |
| 73 | struct pci_dev *pdev = to_pci_dev(hcd->self.controller); |
| 74 | struct pci_dev *b; |
| 75 | |
| 76 | b = pci_get_slot (pdev->bus, PCI_DEVFN (PCI_SLOT (pdev->devfn), 1)); |
| 77 | if (b && b->device == PCI_DEVICE_ID_NS_87560_LIO |
| 78 | && b->vendor == PCI_VENDOR_ID_NS) { |
| 79 | struct ohci_hcd *ohci = hcd_to_ohci (hcd); |
| 80 | |
| 81 | ohci->flags |= OHCI_QUIRK_SUPERIO; |
| 82 | ohci_dbg (ohci, "Using NSC SuperIO setup\n"); |
| 83 | } |
| 84 | pci_dev_put(b); |
| 85 | |
| 86 | return 0; |
| 87 | } |
| 88 | |
| 89 | /* Check for Compaq's ZFMicro chipset, which needs short |
| 90 | * delays before control or bulk queues get re-activated |
| 91 | * in finish_unlinks() |
| 92 | */ |
David Brownell | 931384f | 2007-04-17 13:06:29 -0700 | [diff] [blame] | 93 | static int ohci_quirk_zfmicro(struct usb_hcd *hcd) |
Benjamin Herrenschmidt | 4302a595 | 2006-12-15 06:53:55 +1100 | [diff] [blame] | 94 | { |
| 95 | struct ohci_hcd *ohci = hcd_to_ohci (hcd); |
| 96 | |
| 97 | ohci->flags |= OHCI_QUIRK_ZFMICRO; |
Mike Nuss | 89a0fd1 | 2007-08-01 13:24:30 -0700 | [diff] [blame] | 98 | ohci_dbg(ohci, "enabled Compaq ZFMicro chipset quirks\n"); |
Benjamin Herrenschmidt | 4302a595 | 2006-12-15 06:53:55 +1100 | [diff] [blame] | 99 | |
| 100 | return 0; |
| 101 | } |
| 102 | |
Benjamin Herrenschmidt | 11d1a4a | 2006-12-15 06:54:03 +1100 | [diff] [blame] | 103 | /* Check for Toshiba SCC OHCI which has big endian registers |
| 104 | * and little endian in memory data structures |
| 105 | */ |
David Brownell | 931384f | 2007-04-17 13:06:29 -0700 | [diff] [blame] | 106 | static int ohci_quirk_toshiba_scc(struct usb_hcd *hcd) |
Benjamin Herrenschmidt | 11d1a4a | 2006-12-15 06:54:03 +1100 | [diff] [blame] | 107 | { |
| 108 | struct ohci_hcd *ohci = hcd_to_ohci (hcd); |
| 109 | |
| 110 | /* That chip is only present in the southbridge of some |
| 111 | * cell based platforms which are supposed to select |
| 112 | * CONFIG_USB_OHCI_BIG_ENDIAN_MMIO. We verify here if |
| 113 | * that was the case though. |
| 114 | */ |
| 115 | #ifdef CONFIG_USB_OHCI_BIG_ENDIAN_MMIO |
| 116 | ohci->flags |= OHCI_QUIRK_BE_MMIO; |
| 117 | ohci_dbg (ohci, "enabled big endian Toshiba quirk\n"); |
| 118 | return 0; |
| 119 | #else |
| 120 | ohci_err (ohci, "unsupported big endian Toshiba quirk\n"); |
| 121 | return -ENXIO; |
| 122 | #endif |
| 123 | } |
Benjamin Herrenschmidt | 4302a595 | 2006-12-15 06:53:55 +1100 | [diff] [blame] | 124 | |
Michael Hanselmann | d576bb9 | 2007-05-31 23:34:27 +0200 | [diff] [blame] | 125 | /* Check for NEC chip and apply quirk for allegedly lost interrupts. |
| 126 | */ |
Mike Nuss | 89a0fd1 | 2007-08-01 13:24:30 -0700 | [diff] [blame] | 127 | |
| 128 | static void ohci_quirk_nec_worker(struct work_struct *work) |
| 129 | { |
| 130 | struct ohci_hcd *ohci = container_of(work, struct ohci_hcd, nec_work); |
| 131 | int status; |
| 132 | |
Mike Nuss | 89a0fd1 | 2007-08-01 13:24:30 -0700 | [diff] [blame] | 133 | status = ohci_restart(ohci); |
| 134 | if (status != 0) |
| 135 | ohci_err(ohci, "Restarting NEC controller failed in %s, %d\n", |
| 136 | "ohci_restart", status); |
| 137 | } |
| 138 | |
Michael Hanselmann | d576bb9 | 2007-05-31 23:34:27 +0200 | [diff] [blame] | 139 | static int ohci_quirk_nec(struct usb_hcd *hcd) |
| 140 | { |
| 141 | struct ohci_hcd *ohci = hcd_to_ohci (hcd); |
| 142 | |
| 143 | ohci->flags |= OHCI_QUIRK_NEC; |
Mike Nuss | 89a0fd1 | 2007-08-01 13:24:30 -0700 | [diff] [blame] | 144 | INIT_WORK(&ohci->nec_work, ohci_quirk_nec_worker); |
Michael Hanselmann | d576bb9 | 2007-05-31 23:34:27 +0200 | [diff] [blame] | 145 | ohci_dbg (ohci, "enabled NEC chipset lost interrupt quirk\n"); |
| 146 | |
| 147 | return 0; |
| 148 | } |
| 149 | |
Libin Yang | ab1666c | 2008-08-08 15:03:31 +0800 | [diff] [blame] | 150 | static int ohci_quirk_amd700(struct usb_hcd *hcd) |
| 151 | { |
| 152 | struct ohci_hcd *ohci = hcd_to_ohci(hcd); |
Libin Yang | ab1666c | 2008-08-08 15:03:31 +0800 | [diff] [blame] | 153 | |
Andiry Xu | ad93562 | 2011-03-01 14:57:05 +0800 | [diff] [blame] | 154 | if (usb_amd_find_chipset_info()) |
| 155 | ohci->flags |= OHCI_QUIRK_AMD_PLL; |
| 156 | |
Libin Yang | a1f17a87 | 2009-11-04 14:55:18 +0800 | [diff] [blame] | 157 | /* SB800 needs pre-fetch fix */ |
Huang Rui | 02c123e | 2013-10-03 23:37:13 +0800 | [diff] [blame] | 158 | if (usb_amd_prefetch_quirk()) { |
Libin Yang | a1f17a87 | 2009-11-04 14:55:18 +0800 | [diff] [blame] | 159 | ohci->flags |= OHCI_QUIRK_AMD_PREFETCH; |
| 160 | ohci_dbg(ohci, "enabled AMD prefetch quirk\n"); |
| 161 | } |
| 162 | |
Alan Stern | c1db30a | 2014-05-01 15:21:42 -0400 | [diff] [blame] | 163 | ohci->flags |= OHCI_QUIRK_GLOBAL_SUSPEND; |
Libin Yang | ab1666c | 2008-08-08 15:03:31 +0800 | [diff] [blame] | 164 | return 0; |
| 165 | } |
| 166 | |
Gerd Hoffmann | 21a60f6 | 2017-03-20 09:11:49 +0100 | [diff] [blame] | 167 | static int ohci_quirk_qemu(struct usb_hcd *hcd) |
| 168 | { |
| 169 | struct ohci_hcd *ohci = hcd_to_ohci(hcd); |
| 170 | |
| 171 | ohci->flags |= OHCI_QUIRK_QEMU; |
| 172 | ohci_dbg(ohci, "enabled qemu quirk\n"); |
| 173 | return 0; |
| 174 | } |
| 175 | |
Benjamin Herrenschmidt | 4302a595 | 2006-12-15 06:53:55 +1100 | [diff] [blame] | 176 | /* List of quirks for OHCI */ |
| 177 | static const struct pci_device_id ohci_pci_quirks[] = { |
| 178 | { |
| 179 | PCI_DEVICE(PCI_VENDOR_ID_AMD, 0x740c), |
| 180 | .driver_data = (unsigned long)ohci_quirk_amd756, |
| 181 | }, |
| 182 | { |
| 183 | PCI_DEVICE(PCI_VENDOR_ID_OPTI, 0xc861), |
| 184 | .driver_data = (unsigned long)ohci_quirk_opti, |
| 185 | }, |
| 186 | { |
| 187 | PCI_DEVICE(PCI_VENDOR_ID_NS, PCI_ANY_ID), |
| 188 | .driver_data = (unsigned long)ohci_quirk_ns, |
| 189 | }, |
| 190 | { |
| 191 | PCI_DEVICE(PCI_VENDOR_ID_COMPAQ, 0xa0f8), |
| 192 | .driver_data = (unsigned long)ohci_quirk_zfmicro, |
| 193 | }, |
Benjamin Herrenschmidt | 11d1a4a | 2006-12-15 06:54:03 +1100 | [diff] [blame] | 194 | { |
| 195 | PCI_DEVICE(PCI_VENDOR_ID_TOSHIBA_2, 0x01b6), |
| 196 | .driver_data = (unsigned long)ohci_quirk_toshiba_scc, |
| 197 | }, |
David Brownell | 931384f | 2007-04-17 13:06:29 -0700 | [diff] [blame] | 198 | { |
Michael Hanselmann | d576bb9 | 2007-05-31 23:34:27 +0200 | [diff] [blame] | 199 | PCI_DEVICE(PCI_VENDOR_ID_NEC, PCI_DEVICE_ID_NEC_USB), |
| 200 | .driver_data = (unsigned long)ohci_quirk_nec, |
| 201 | }, |
| 202 | { |
David Brownell | 931384f | 2007-04-17 13:06:29 -0700 | [diff] [blame] | 203 | /* Toshiba portege 4000 */ |
| 204 | .vendor = PCI_VENDOR_ID_AL, |
| 205 | .device = 0x5237, |
Andrey Borzenkov | 8ab5e8c | 2007-05-19 14:23:28 -0700 | [diff] [blame] | 206 | .subvendor = PCI_VENDOR_ID_TOSHIBA, |
David Brownell | 931384f | 2007-04-17 13:06:29 -0700 | [diff] [blame] | 207 | .subdevice = 0x0004, |
| 208 | .driver_data = (unsigned long) broken_suspend, |
| 209 | }, |
Raphael Assenat | 33f73e5 | 2007-04-17 13:09:18 -0700 | [diff] [blame] | 210 | { |
| 211 | PCI_DEVICE(PCI_VENDOR_ID_ITE, 0x8152), |
| 212 | .driver_data = (unsigned long) broken_suspend, |
| 213 | }, |
Libin Yang | ab1666c | 2008-08-08 15:03:31 +0800 | [diff] [blame] | 214 | { |
| 215 | PCI_DEVICE(PCI_VENDOR_ID_ATI, 0x4397), |
| 216 | .driver_data = (unsigned long)ohci_quirk_amd700, |
| 217 | }, |
| 218 | { |
| 219 | PCI_DEVICE(PCI_VENDOR_ID_ATI, 0x4398), |
| 220 | .driver_data = (unsigned long)ohci_quirk_amd700, |
| 221 | }, |
| 222 | { |
| 223 | PCI_DEVICE(PCI_VENDOR_ID_ATI, 0x4399), |
| 224 | .driver_data = (unsigned long)ohci_quirk_amd700, |
| 225 | }, |
Gerd Hoffmann | 21a60f6 | 2017-03-20 09:11:49 +0100 | [diff] [blame] | 226 | { |
| 227 | .vendor = PCI_VENDOR_ID_APPLE, |
| 228 | .device = 0x003f, |
| 229 | .subvendor = PCI_SUBVENDOR_ID_REDHAT_QUMRANET, |
| 230 | .subdevice = PCI_SUBDEVICE_ID_QEMU, |
| 231 | .driver_data = (unsigned long)ohci_quirk_qemu, |
| 232 | }, |
Libin Yang | ab1666c | 2008-08-08 15:03:31 +0800 | [diff] [blame] | 233 | |
Benjamin Herrenschmidt | 4302a595 | 2006-12-15 06:53:55 +1100 | [diff] [blame] | 234 | /* FIXME for some of the early AMD 760 southbridges, OHCI |
| 235 | * won't work at all. blacklist them. |
| 236 | */ |
Benjamin Herrenschmidt | 11d1a4a | 2006-12-15 06:54:03 +1100 | [diff] [blame] | 237 | |
Benjamin Herrenschmidt | 4302a595 | 2006-12-15 06:53:55 +1100 | [diff] [blame] | 238 | {}, |
| 239 | }; |
| 240 | |
| 241 | static int ohci_pci_reset (struct usb_hcd *hcd) |
| 242 | { |
| 243 | struct ohci_hcd *ohci = hcd_to_ohci (hcd); |
Manjunath Goudar | c1117af | 2013-05-28 18:34:51 +0530 | [diff] [blame] | 244 | struct pci_dev *pdev = to_pci_dev(hcd->self.controller); |
Benjamin Herrenschmidt | 4302a595 | 2006-12-15 06:53:55 +1100 | [diff] [blame] | 245 | int ret = 0; |
| 246 | |
| 247 | if (hcd->self.controller) { |
Benjamin Herrenschmidt | 4302a595 | 2006-12-15 06:53:55 +1100 | [diff] [blame] | 248 | const struct pci_device_id *quirk_id; |
| 249 | |
| 250 | quirk_id = pci_match_id(ohci_pci_quirks, pdev); |
| 251 | if (quirk_id != NULL) { |
| 252 | int (*quirk)(struct usb_hcd *ohci); |
| 253 | quirk = (void *)quirk_id->driver_data; |
| 254 | ret = quirk(hcd); |
| 255 | } |
| 256 | } |
Manjunath Goudar | c1117af | 2013-05-28 18:34:51 +0530 | [diff] [blame] | 257 | |
| 258 | if (ret == 0) |
| 259 | ret = ohci_setup(hcd); |
| 260 | /* |
| 261 | * After ohci setup RWC may not be set for add-in PCI cards. |
| 262 | * This transfers PCI PM wakeup capabilities. |
| 263 | */ |
| 264 | if (device_can_wakeup(&pdev->dev)) |
| 265 | ohci->hc_control |= OHCI_CTRL_RWC; |
Benjamin Herrenschmidt | 4302a595 | 2006-12-15 06:53:55 +1100 | [diff] [blame] | 266 | return ret; |
| 267 | } |
| 268 | |
Manjunath Goudar | c1117af | 2013-05-28 18:34:51 +0530 | [diff] [blame] | 269 | static struct hc_driver __read_mostly ohci_pci_hc_driver; |
Benjamin Herrenschmidt | 4302a595 | 2006-12-15 06:53:55 +1100 | [diff] [blame] | 270 | |
Manjunath Goudar | c1117af | 2013-05-28 18:34:51 +0530 | [diff] [blame] | 271 | static const struct ohci_driver_overrides pci_overrides __initconst = { |
| 272 | .product_desc = "OHCI PCI host controller", |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 273 | .reset = ohci_pci_reset, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 274 | }; |
| 275 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 276 | static const struct pci_device_id pci_ids [] = { { |
| 277 | /* handle any USB OHCI controller */ |
Jean Delvare | c67808e | 2006-04-09 20:07:35 +0200 | [diff] [blame] | 278 | PCI_DEVICE_CLASS(PCI_CLASS_SERIAL_USB_OHCI, ~0), |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 279 | .driver_data = (unsigned long) &ohci_pci_hc_driver, |
Alessandro Rubini | 3a0bac0 | 2012-01-06 13:33:28 +0100 | [diff] [blame] | 280 | }, { |
| 281 | /* The device in the ConneXT I/O hub has no class reg */ |
| 282 | PCI_VDEVICE(STMICRO, PCI_DEVICE_ID_STMICRO_USB_OHCI), |
| 283 | .driver_data = (unsigned long) &ohci_pci_hc_driver, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 284 | }, { /* end: all zeroes */ } |
| 285 | }; |
| 286 | MODULE_DEVICE_TABLE (pci, pci_ids); |
| 287 | |
| 288 | /* pci driver glue; this is a "new style" PCI driver module */ |
| 289 | static struct pci_driver ohci_pci_driver = { |
| 290 | .name = (char *) hcd_name, |
| 291 | .id_table = pci_ids, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 292 | |
| 293 | .probe = usb_hcd_pci_probe, |
| 294 | .remove = usb_hcd_pci_remove, |
Aleksey Gorelov | 64a21d0 | 2006-08-08 17:24:08 -0700 | [diff] [blame] | 295 | .shutdown = usb_hcd_pci_shutdown, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 296 | |
Alan Stern | 69820e0 | 2013-08-26 15:01:40 -0400 | [diff] [blame] | 297 | #ifdef CONFIG_PM |
Alan Stern | abb3064 | 2009-04-27 13:33:24 -0400 | [diff] [blame] | 298 | .driver = { |
| 299 | .pm = &usb_hcd_pci_pm_ops |
| 300 | }, |
| 301 | #endif |
| 302 | }; |
Manjunath Goudar | c1117af | 2013-05-28 18:34:51 +0530 | [diff] [blame] | 303 | |
| 304 | static int __init ohci_pci_init(void) |
| 305 | { |
| 306 | if (usb_disabled()) |
| 307 | return -ENODEV; |
| 308 | |
| 309 | pr_info("%s: " DRIVER_DESC "\n", hcd_name); |
| 310 | |
| 311 | ohci_init_driver(&ohci_pci_hc_driver, &pci_overrides); |
Alan Stern | 9a11899 | 2013-08-21 10:33:17 -0400 | [diff] [blame] | 312 | |
Alan Stern | d347404 | 2013-08-26 10:53:53 -0400 | [diff] [blame] | 313 | #ifdef CONFIG_PM |
Alan Stern | 9a11899 | 2013-08-21 10:33:17 -0400 | [diff] [blame] | 314 | /* Entries for the PCI suspend/resume callbacks are special */ |
| 315 | ohci_pci_hc_driver.pci_suspend = ohci_suspend; |
| 316 | ohci_pci_hc_driver.pci_resume = ohci_resume; |
Alan Stern | d347404 | 2013-08-26 10:53:53 -0400 | [diff] [blame] | 317 | #endif |
Alan Stern | 9a11899 | 2013-08-21 10:33:17 -0400 | [diff] [blame] | 318 | |
Manjunath Goudar | c1117af | 2013-05-28 18:34:51 +0530 | [diff] [blame] | 319 | return pci_register_driver(&ohci_pci_driver); |
| 320 | } |
| 321 | module_init(ohci_pci_init); |
| 322 | |
| 323 | static void __exit ohci_pci_cleanup(void) |
| 324 | { |
| 325 | pci_unregister_driver(&ohci_pci_driver); |
| 326 | } |
| 327 | module_exit(ohci_pci_cleanup); |
| 328 | |
| 329 | MODULE_DESCRIPTION(DRIVER_DESC); |
| 330 | MODULE_LICENSE("GPL"); |
Tom Gundersen | 05c92da | 2013-09-10 23:30:14 +0200 | [diff] [blame] | 331 | MODULE_SOFTDEP("pre: ehci_pci"); |