aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/amd/pi/hudson/usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/amd/pi/hudson/usb.c')
-rw-r--r--src/southbridge/amd/pi/hudson/usb.c34
1 files changed, 9 insertions, 25 deletions
diff --git a/src/southbridge/amd/pi/hudson/usb.c b/src/southbridge/amd/pi/hudson/usb.c
index 6438be1583..f68652186a 100644
--- a/src/southbridge/amd/pi/hudson/usb.c
+++ b/src/southbridge/amd/pi/hudson/usb.c
@@ -43,35 +43,19 @@ static struct device_operations usb_ops = {
.ops_pci = &lops_pci,
};
-static const struct pci_driver usb_0_driver __pci_driver = {
- .ops = &usb_ops,
- .vendor = PCI_VENDOR_ID_AMD,
- .device = PCI_DEVICE_ID_ATI_SB900_USB_18_0,
+static const unsigned short pci_device_ids[] = {
+ PCI_DEVICE_ID_ATI_SB900_USB_18_0,
+ PCI_DEVICE_ID_ATI_SB900_USB_18_2,
+ PCI_DEVICE_ID_ATI_SB900_USB_20_5,
+ PCI_DEVICE_ID_AMD_CZ_USB_0,
+ PCI_DEVICE_ID_AMD_CZ_USB_1,
+ 0
};
-static const struct pci_driver usb_1_driver __pci_driver = {
- .ops = &usb_ops,
- .vendor = PCI_VENDOR_ID_AMD,
- .device = PCI_DEVICE_ID_ATI_SB900_USB_18_2,
-};
-
-/* the pci id of usb ctrl 0 and 1 are the same. */
-/*
- * static const struct pci_driver usb_3_driver __pci_driver = {
- * .ops = &usb_ops,
- * .vendor = PCI_VENDOR_ID_AMD,
- * .device = PCI_DEVICE_ID_ATI_HUDSON_USB_19_0,
- * };
- * static const struct pci_driver usb_4_driver __pci_driver = {
- * .ops = &usb_ops,
- * .vendor = PCI_VENDOR_ID_AMD,
- * .device = PCI_DEVICE_ID_ATI_HUDSON_USB_19_1,
- * };
- */
-static const struct pci_driver usb_4_driver __pci_driver = {
+static const struct pci_driver usb_0_driver __pci_driver = {
.ops = &usb_ops,
.vendor = PCI_VENDOR_ID_AMD,
- .device = PCI_DEVICE_ID_ATI_SB900_USB_20_5,
+ .devices = pci_device_ids,
};
/*