Asus P4B hidden smbus : additional subsystem ID
PATCH 1/1 Asus P4B hidden smbus : additional subsystem ID
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 --------------
drivers/pci/quirks.c renamed from drivers/pci/quirks.c.pre +6 -3
@@ -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 ;