[PATCH] Asus P4B hidden smbus : additional subsystem ID

Sean Estabrooks seanlkml at rogers.com
Tue Aug 5 09:18:55 CEST 2003


    My P4B motherboard reports a different subsystem number
than the one given in the 2.6 kernel.  Patch attached against 
2.6.0-test2 that adds it in.  Asus website lists over 20 
variations of the P4B motherboard so there may yet be more
subsystem id's discovered.

Cheers,
Sean

-------------- next part --------------
--- mm3/drivers/pci/quirks.c.pre	Tue Aug  5 02:23:02 2003
+++ mm3/drivers/pci/quirks.c	Tue Aug  5 02:29:31 2003
@@ -681,9 +681,12 @@
 	if (likely(dev->subsystem_vendor != PCI_VENDOR_ID_ASUSTEK))
 		return;
 
-	if ((dev->device == PCI_DEVICE_ID_INTEL_82845_HB) && 
-	    (dev->subsystem_device == 0x8088)) /* P4B533 */
-		asus_hides_smbus = 1;
+	if (dev->device == PCI_DEVICE_ID_INTEL_82845_HB)
+		switch(dev->subsystem_device) {
+		case 0x8070: /* P4B */
+	    	case 0x8088: /* P4B533 */
+			asus_hides_smbus = 1;
+		}
 	if ((dev->device == PCI_DEVICE_ID_INTEL_82845G_HB) &&
 	    (dev->subsystem_device == 0x80b2)) /* P4PE */
 		asus_hides_smbus = 1;


More information about the lm-sensors mailing list