From 8234f8c58a1e1288af3f16c3a320ce1d6c1cfe23 Mon Sep 17 00:00:00 2001 From: "Mark D. Studebaker" Date: Sun, 8 Jun 2003 21:05:58 +0000 Subject: [PATCH] add support for 82801EB (ICH5) 0x24d3 git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1775 7894878c-1315-0410-8ee3-d5d059ff63e0 --- kernel/busses/i2c-i801.c | 10 +++++++++- prog/detect/sensors-detect | 8 ++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/kernel/busses/i2c-i801.c b/kernel/busses/i2c-i801.c index e1b52b61..04c7df31 100644 --- a/kernel/busses/i2c-i801.c +++ b/kernel/busses/i2c-i801.c @@ -27,6 +27,7 @@ 82801BA 2443 82801CA/CAM 2483 82801DB 24C3 (HW PEC supported, 32 byte buffer not supported) + 82801EB 24D3 (HW PEC supported, 32 byte buffer not supported) This driver supports several versions of Intel's I/O Controller Hubs (ICH). For SMBus support, they are similar to the PIIX4 and are part @@ -128,7 +129,8 @@ static int i801_setup(struct pci_dev *dev) return -ENODEV; I801_dev = dev; - if (dev->device == PCI_DEVICE_ID_INTEL_82801DB_3) + if (dev->device == PCI_DEVICE_ID_INTEL_82801DB_3 || + dev->device == 0x24d3) isich4 = 1; else isich4 = 0; @@ -589,6 +591,12 @@ static struct pci_device_id i801_ids[] __devinitdata = { .subvendor = PCI_ANY_ID, .subdevice = PCI_ANY_ID, }, + { + .vendor = PCI_VENDOR_ID_INTEL, + .device = 0x24d3, /* 82801EB ICH5 */ + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + }, { 0, } }; diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect index ba5c8d40..fdca1a69 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -108,6 +108,14 @@ use vars qw(@pci_adapters @chip_ids @superio_ids @undetectable_adapters @dmideco driver => "i2c-i801", match => sub { $_[0] =~ /^SMBus I801 adapter at [0-9,a-f]{4}/ }, } , + { + vendid => 0x8086, + devid => 0x24D3, + func => 3, + procid => "Intel 82801EB ICH5", + driver => "i2c-i801", + match => sub { $_[0] =~ /^SMBus I801 adapter at [0-9,a-f]{4}/ }, + } , { vendid => 0x1106, devid => 0x3040,