LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] PCI: Unhide the SMBus on the Compaq Evo D510
@ 2008-04-17 14:47 Jean Delvare
0 siblings, 0 replies; 3+ messages in thread
From: Jean Delvare @ 2008-04-17 14:47 UTC (permalink / raw)
To: linux-kernel, linux-pci; +Cc: Greg Kroah-Hartman
One more machine with a hidden Intel SMBus. Unhiding it reveals a SMSC
EMC6D100 hardware monitoring chip. I have checked that this machine
has no ACPI magic touching the SMBus nor the hardware monitoring chip,
so this should be safe.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
---
drivers/pci/quirks.c | 7 +++++++
1 file changed, 7 insertions(+)
--- linux-2.6.25.orig/drivers/pci/quirks.c 2008-04-17 16:39:59.000000000 +0200
+++ linux-2.6.25/drivers/pci/quirks.c 2008-04-17 16:40:29.000000000 +0200
@@ -1054,6 +1054,12 @@ static void __init asus_hides_smbus_host
* its on-board VGA controller */
asus_hides_smbus = 1;
}
+ else if (dev->device == PCI_DEVICE_ID_INTEL_82845G_IG)
+ switch(dev->subsystem_device) {
+ case 0x00b8: /* Compaq Evo D510 CMT */
+ case 0x00b9: /* Compaq Evo D510 SFF */
+ asus_hides_smbus = 1;
+ }
}
}
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82845_HB, asus_hides_smbus_hostbridge);
@@ -1068,6 +1074,7 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_I
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82915GM_HB, asus_hides_smbus_hostbridge);
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82810_IG3, asus_hides_smbus_hostbridge);
+DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82845G_IG, asus_hides_smbus_hostbridge);
static void asus_hides_smbus_lpc(struct pci_dev *dev)
{
--
Jean Delvare
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] PCI: Unhide the SMBus on the Compaq Evo D510
2008-06-04 11:53 Jean Delvare
@ 2008-06-05 20:57 ` Jesse Barnes
0 siblings, 0 replies; 3+ messages in thread
From: Jesse Barnes @ 2008-06-05 20:57 UTC (permalink / raw)
To: Jean Delvare; +Cc: linux-kernel, linux-pci
On Wednesday, June 04, 2008 4:53 am Jean Delvare wrote:
> One more machine with a hidden Intel SMBus. Unhiding it reveals a SMSC
> EMC6D100 hardware monitoring chip. I have checked that this machine
> has no ACPI magic touching the SMBus nor the hardware monitoring chip,
> so this should be safe.
>
> Signed-off-by: Jean Delvare <khali@linux-fr.org>
> ---
> Patch already sent on:
> * 2008-04-17
Thanks Jean, I'll queue it in linux-next.
Jesse
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] PCI: Unhide the SMBus on the Compaq Evo D510
@ 2008-06-04 11:53 Jean Delvare
2008-06-05 20:57 ` Jesse Barnes
0 siblings, 1 reply; 3+ messages in thread
From: Jean Delvare @ 2008-06-04 11:53 UTC (permalink / raw)
To: Jesse Barnes; +Cc: linux-kernel, linux-pci
One more machine with a hidden Intel SMBus. Unhiding it reveals a SMSC
EMC6D100 hardware monitoring chip. I have checked that this machine
has no ACPI magic touching the SMBus nor the hardware monitoring chip,
so this should be safe.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
---
Patch already sent on:
* 2008-04-17
drivers/pci/quirks.c | 7 +++++++
1 file changed, 7 insertions(+)
--- linux-2.6.25.orig/drivers/pci/quirks.c 2008-04-17 16:39:59.000000000 +0200
+++ linux-2.6.25/drivers/pci/quirks.c 2008-04-17 16:40:29.000000000 +0200
@@ -1054,6 +1054,12 @@ static void __init asus_hides_smbus_host
* its on-board VGA controller */
asus_hides_smbus = 1;
}
+ else if (dev->device == PCI_DEVICE_ID_INTEL_82845G_IG)
+ switch(dev->subsystem_device) {
+ case 0x00b8: /* Compaq Evo D510 CMT */
+ case 0x00b9: /* Compaq Evo D510 SFF */
+ asus_hides_smbus = 1;
+ }
}
}
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82845_HB, asus_hides_smbus_hostbridge);
@@ -1068,6 +1074,7 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_I
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82915GM_HB, asus_hides_smbus_hostbridge);
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82810_IG3, asus_hides_smbus_hostbridge);
+DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82845G_IG, asus_hides_smbus_hostbridge);
static void asus_hides_smbus_lpc(struct pci_dev *dev)
{
--
Jean Delvare
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-06-05 20:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-17 14:47 [PATCH] PCI: Unhide the SMBus on the Compaq Evo D510 Jean Delvare
2008-06-04 11:53 Jean Delvare
2008-06-05 20:57 ` Jesse Barnes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).