|
@@ -276,6 +276,9 @@ static int ehci_pci_setup(struct usb_hcd *hcd)
|
|
|
|
|
|
/* Serial Bus Release Number is at PCI 0x60 offset */
|
|
|
pci_read_config_byte(pdev, 0x60, &ehci->sbrn);
|
|
|
+ if (pdev->vendor == PCI_VENDOR_ID_STMICRO
|
|
|
+ && pdev->device == PCI_DEVICE_ID_STMICRO_USB_HOST)
|
|
|
+ ehci->sbrn = 0x20; /* ConneXT has no sbrn register */
|
|
|
|
|
|
/* Keep this around for a while just in case some EHCI
|
|
|
* implementation uses legacy PCI PM support. This test
|
|
@@ -526,6 +529,9 @@ static const struct pci_device_id pci_ids [] = { {
|
|
|
/* handle any USB 2.0 EHCI controller */
|
|
|
PCI_DEVICE_CLASS(PCI_CLASS_SERIAL_USB_EHCI, ~0),
|
|
|
.driver_data = (unsigned long) &ehci_pci_hc_driver,
|
|
|
+ }, {
|
|
|
+ PCI_VDEVICE(STMICRO, PCI_DEVICE_ID_STMICRO_USB_HOST),
|
|
|
+ .driver_data = (unsigned long) &ehci_pci_hc_driver,
|
|
|
},
|
|
|
{ /* end: all zeroes */ }
|
|
|
};
|