Author: uwe
Date: 2007-11-29 02:44:43 +0100 (Thu, 29 Nov 2007)
New Revision: 2990

Modified:
   trunk/LinuxBIOSv2/src/include/device/pci_ids.h
   trunk/LinuxBIOSv2/src/southbridge/intel/i82371eb/i82371eb_early_smbus.c
   trunk/LinuxBIOSv2/src/southbridge/intel/i82371eb/i82371eb_smbus.c
Log:
Restructure/rename/comment a few 82371XX-related PCI IDs (trivial).

Signed-off-by: Uwe Hermann <[EMAIL PROTECTED]>
Acked-by: Uwe Hermann <[EMAIL PROTECTED]>



Modified: trunk/LinuxBIOSv2/src/include/device/pci_ids.h
===================================================================
--- trunk/LinuxBIOSv2/src/include/device/pci_ids.h      2007-11-29 01:25:29 UTC 
(rev 2989)
+++ trunk/LinuxBIOSv2/src/include/device/pci_ids.h      2007-11-29 01:44:43 UTC 
(rev 2990)
@@ -1811,24 +1811,34 @@
 #define PCI_DEVICE_ID_INTEL_82865      0x1227
 #define PCI_DEVICE_ID_INTEL_82557      0x1229
 #define PCI_DEVICE_ID_INTEL_82437      0x122d
-#define PCI_DEVICE_ID_INTEL_82371FB_0  0x122e
-#define PCI_DEVICE_ID_INTEL_82371FB_1  0x1230
-#define PCI_DEVICE_ID_INTEL_82371MX    0x1234
-#define PCI_DEVICE_ID_INTEL_82437MX    0x1235
 #define PCI_DEVICE_ID_INTEL_82441      0x1237
 #define PCI_DEVICE_ID_INTEL_82380FB    0x124b
 #define PCI_DEVICE_ID_INTEL_82439      0x1250
 #define PCI_DEVICE_ID_INTEL_80960_RP   0x1960
-#define PCI_DEVICE_ID_INTEL_82371SB_0  0x7000
-#define PCI_DEVICE_ID_INTEL_82371SB_1  0x7010
-#define PCI_DEVICE_ID_INTEL_82371SB_2  0x7020
 #define PCI_DEVICE_ID_INTEL_82437VX    0x7030
 #define PCI_DEVICE_ID_INTEL_82439TX    0x7100
+
+/* Intel 82371FB (PIIX) */
+#define PCI_DEVICE_ID_INTEL_82371FB_ISA                0x122e
+#define PCI_DEVICE_ID_INTEL_82371FB_IDE                0x1230
+
+/* Intel 82371SB (PIIX3) */
+#define PCI_DEVICE_ID_INTEL_82371SB_ISA                0x7000
+#define PCI_DEVICE_ID_INTEL_82371SB_IDE                0x7010
+#define PCI_DEVICE_ID_INTEL_82371SB_USB                0x7020
+
+/* Intel 82371MX (MPIIX) */
+#define PCI_DEVICE_ID_INTEL_82371MX_ISA_IDE    0x1234
+
+/* Intel 82437MX (part of the 430MX chipset) */
+#define PCI_DEVICE_ID_INTEL_82437MX_ISA_IDE    0x1235
+
+/* Intel 82371AB/EB/MB (PIIX4/PIIX4E/PIIX4M) */
+/* The 440MX (82443MX) consists of 82443BX + 82371EB (uses same PCI IDs). */
 #define PCI_DEVICE_ID_INTEL_82371AB_ISA                0x7110
 #define PCI_DEVICE_ID_INTEL_82371AB_IDE                0x7111
 #define PCI_DEVICE_ID_INTEL_82371AB_USB                0x7112
-#define PCI_DEVICE_ID_INTEL_82371AB_ACPI       0x7113 /* Same as SMB */
-#define PCI_DEVICE_ID_INTEL_82371AB_SMB                0x7113 /* Same as ACPI 
*/
+#define PCI_DEVICE_ID_INTEL_82371AB_SMB_ACPI   0x7113
 
 /* Intel 82801AA (ICH) */
 #define PCI_DEVICE_ID_INTEL_82801AA_LPC                0x2410

Modified: 
trunk/LinuxBIOSv2/src/southbridge/intel/i82371eb/i82371eb_early_smbus.c
===================================================================
--- trunk/LinuxBIOSv2/src/southbridge/intel/i82371eb/i82371eb_early_smbus.c     
2007-11-29 01:25:29 UTC (rev 2989)
+++ trunk/LinuxBIOSv2/src/southbridge/intel/i82371eb/i82371eb_early_smbus.c     
2007-11-29 01:44:43 UTC (rev 2990)
@@ -33,7 +33,7 @@
        uint16_t reg16;
 
        dev = pci_locate_device(PCI_ID(PCI_VENDOR_ID_INTEL,
-                               PCI_DEVICE_ID_INTEL_82371AB_SMB), 0);
+                               PCI_DEVICE_ID_INTEL_82371AB_SMB_ACPI), 0);
 
        if (dev == PCI_DEV_INVALID) {
                die("SMBus controller not found\r\n");

Modified: trunk/LinuxBIOSv2/src/southbridge/intel/i82371eb/i82371eb_smbus.c
===================================================================
--- trunk/LinuxBIOSv2/src/southbridge/intel/i82371eb/i82371eb_smbus.c   
2007-11-29 01:25:29 UTC (rev 2989)
+++ trunk/LinuxBIOSv2/src/southbridge/intel/i82371eb/i82371eb_smbus.c   
2007-11-29 01:44:43 UTC (rev 2990)
@@ -41,5 +41,5 @@
 static const struct pci_driver smbus_driver __pci_driver = {
        .ops    = &smbus_ops,
        .vendor = PCI_VENDOR_ID_INTEL,
-       .device = PCI_DEVICE_ID_INTEL_82371AB_SMB,
+       .device = PCI_DEVICE_ID_INTEL_82371AB_SMB_ACPI,
 };


-- 
linuxbios mailing list
linuxbios@linuxbios.org
http://www.linuxbios.org/mailman/listinfo/linuxbios

Reply via email to