Commit 2b07edb1 authored by Sean Estabrooks's avatar Sean Estabrooks Committed by Linus Torvalds

[PATCH] I2C: Additional P4B subsystem id for hidden asus smbus

  This patch adds another P4B motherboard subsystem identifier to the recent
asus sensor patch for the 2.6 kernel.
parent c8c62738
...@@ -681,9 +681,12 @@ static void __init asus_hides_smbus_hostbridge(struct pci_dev *dev) ...@@ -681,9 +681,12 @@ static void __init asus_hides_smbus_hostbridge(struct pci_dev *dev)
if (likely(dev->subsystem_vendor != PCI_VENDOR_ID_ASUSTEK)) if (likely(dev->subsystem_vendor != PCI_VENDOR_ID_ASUSTEK))
return; return;
if ((dev->device == PCI_DEVICE_ID_INTEL_82845_HB) && if (dev->device == PCI_DEVICE_ID_INTEL_82845_HB)
(dev->subsystem_device == 0x8088)) /* P4B533 */ switch(dev->subsystem_device) {
asus_hides_smbus = 1; case 0x8070: /* P4B */
case 0x8088: /* P4B533 */
asus_hides_smbus = 1;
}
if ((dev->device == PCI_DEVICE_ID_INTEL_82845G_HB) && if ((dev->device == PCI_DEVICE_ID_INTEL_82845G_HB) &&
(dev->subsystem_device == 0x80b2)) /* P4PE */ (dev->subsystem_device == 0x80b2)) /* P4PE */
asus_hides_smbus = 1; asus_hides_smbus = 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment