]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
pci_ids.h: correct naming of 1022:7450 (AMD 8131 Bridge)
authorJohn W. Linville <linville@tuxdriver.com>
Wed, 6 Dec 2006 18:06:04 +0000 (19:06 +0100)
committerAdrian Bunk <bunk@stusta.de>
Fri, 8 Dec 2006 15:53:47 +0000 (16:53 +0100)
The naming of the constant defined for PCI ID 1022:7450 does not seem
to match the information at http://pciids.sourceforge.net/:

    http://pci-ids.ucw.cz/iii/?i=1022

There 1022:7450 is listed as "AMD-8131 PCI-X Bridge" while 1022:7451
is listed as "AMD-8131 PCI-X IOAPIC".  Yet, the current definition for
0x7450 is PCI_DEVICE_ID_AMD_8131_APIC.      It seems to me like that name
should map to 0x7451, while a name like PCI_DEVICE_ID_AMD_8131_BRIDGE
should map to 0x7450.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
drivers/pci/quirks.c
include/linux/pci_ids.h

index 381f36bf5cd4e9883bb76629aa0c10040570ee25..2195c844296843f5d00d6861e64677a7b717f2f4 100644 (file)
@@ -589,7 +589,7 @@ static void __init quirk_amd_8131_ioapic(struct pci_dev *dev)
                 pci_write_config_byte( dev, AMD8131_MISC, tmp);
         }
 } 
-DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_8131_APIC,         quirk_amd_8131_ioapic ); 
+DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_8131_BRIDGE, quirk_amd_8131_ioapic);
 
 static void __init quirk_svw_msi(struct pci_dev *dev)
 {
index 77ccd6e5e6211ee23bef3ad2e35bb7d81e080a7d..b465e69e8e8a08f222775b8aa886ced9d334a076 100644 (file)
 #define PCI_DEVICE_ID_AMD_8111_SMBUS   0x746b
 #define PCI_DEVICE_ID_AMD_8111_AUDIO   0x746d
 #define PCI_DEVICE_ID_AMD_8151_0       0x7454
-#define PCI_DEVICE_ID_AMD_8131_APIC     0x7450
+#define PCI_DEVICE_ID_AMD_8131_BRIDGE  0x7450
+#define PCI_DEVICE_ID_AMD_8131_APIC    0x7451
 #define PCI_DEVICE_ID_AMD_CS5536_ISA    0x2090
 #define PCI_DEVICE_ID_AMD_CS5536_FLASH  0x2091
 #define PCI_DEVICE_ID_AMD_CS5536_AUDIO  0x2093