All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2.6] Add PCI quirk for SMBus on the Toshiba Satellite A40
@ 2005-05-19  6:25 ` Jean Delvare
  0 siblings, 0 replies; 4+ messages in thread
From: Jean Delvare @ 2005-02-13 19:46 UTC (permalink / raw)
  To: linux-pci; +Cc: LM Sensors, LKML, Greg KH, Frans Pop

Hi all,

The Toshiba Satellite A40 laptop hides its SMBus device, much like a
number of Asus boards reputedly do. This prevents access to the LM90
hardware monitoring chip. This simple patch extends the PCI quirk used
for the Asus and HP systems to this Toshiba laptop.

Please consider for merge into the PCI subsystem,
thanks.

Signed-off-by: Frans Pop <aragorn@tiscali.nl>
Signed-off-by: Jean Delvare <khali@linux-fr.org>

--- linux/drivers/pci/quirks.c.orig	2005-02-12 19:44:37.000000000 +0100
+++ linux/drivers/pci/quirks.c	2005-02-13 12:35:28.000000000 +0100
@@ -801,6 +801,12 @@
 			case 0x12bc: /* HP D330L */
 				asus_hides_smbus = 1;
 			}
+	} else if (unlikely(dev->subsystem_vendor == PCI_VENDOR_ID_TOSHIBA)) {
+		if (dev->device == PCI_DEVICE_ID_INTEL_82855GM_HB)
+			switch(dev->subsystem_device) {
+			case 0x0001: /* Toshiba Satellite A40 */
+				asus_hides_smbus = 1;
+			}
 	}
 }
 DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL,	PCI_DEVICE_ID_INTEL_82845_HB,	asus_hides_smbus_hostbridge );


-- 
Jean Delvare

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-05-19  6:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-13 19:46 [PATCH 2.6] Add PCI quirk for SMBus on the Toshiba Satellite A40 Jean Delvare
2005-05-19  6:25 ` Jean Delvare
2005-02-17 23:18 ` Greg KH
2005-05-19  6:25   ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.