summaryrefslogtreecommitdiff
path: root/src/northbridge/amd/cimx/rd890/late.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/northbridge/amd/cimx/rd890/late.c')
-rw-r--r--src/northbridge/amd/cimx/rd890/late.c40
1 files changed, 10 insertions, 30 deletions
diff --git a/src/northbridge/amd/cimx/rd890/late.c b/src/northbridge/amd/cimx/rd890/late.c
index 208e5f1d77..33da2b403a 100644
--- a/src/northbridge/amd/cimx/rd890/late.c
+++ b/src/northbridge/amd/cimx/rd890/late.c
@@ -220,38 +220,18 @@ static struct device_operations ht_ops = {
.ops_pci = &lops_pci,
};
-static const struct pci_driver ht_driver_sr5690 __pci_driver = {
- .ops = &ht_ops,
- .vendor = PCI_VENDOR_ID_ATI,
- .device = PCI_DEVICE_ID_AMD_SR5690_HT,
-};
-
-static const struct pci_driver ht_driver_sr5670 __pci_driver = {
- .ops = &ht_ops,
- .vendor = PCI_VENDOR_ID_ATI,
- .device = PCI_DEVICE_ID_AMD_SR5670_HT,
-};
-
-static const struct pci_driver ht_driver_sr5650 __pci_driver = {
- .ops = &ht_ops,
- .vendor = PCI_VENDOR_ID_ATI,
- .device = PCI_DEVICE_ID_AMD_SR5650_HT,
-};
-
-static const struct pci_driver ht_driver_rd890tv __pci_driver = {
- .ops = &ht_ops,
- .vendor = PCI_VENDOR_ID_ATI,
- .device = PCI_DEVICE_ID_AMD_RD890TV_HT,
+static const unsigned short driver_ids[] = {
+ PCI_DEVICE_ID_AMD_SR5690_HT,
+ PCI_DEVICE_ID_AMD_SR5670_HT,
+ PCI_DEVICE_ID_AMD_SR5650_HT,
+ PCI_DEVICE_ID_AMD_RD890TV_HT,
+ PCI_DEVICE_ID_AMD_RD890_HT,
+ PCI_DEVICE_ID_AMD_990FX_HT,
+ 0
};
-static const struct pci_driver ht_driver_rd890 __pci_driver = {
- .ops = &ht_ops,
- .vendor = PCI_VENDOR_ID_ATI,
- .device = PCI_DEVICE_ID_AMD_RD890_HT,
-};
-
-static const struct pci_driver ht_driver_990fx __pci_driver = {
+static const struct pci_driver ht_driver_sr5690 __pci_driver = {
.ops = &ht_ops,
.vendor = PCI_VENDOR_ID_ATI,
- .device = PCI_DEVICE_ID_AMD_990FX_HT,
+ .devices= driver_ids,
};