From 446b758ca1c6ffad8d0c93686ea4b105b40738c9 Mon Sep 17 00:00:00 2001 From: "Mark D. Studebaker" Date: Fri, 7 Jun 2002 02:56:52 +0000 Subject: [PATCH] add 82801DB (ICH4) support git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1382 7894878c-1315-0410-8ee3-d5d059ff63e0 --- doc/busses/i2c-i801 | 1 + kernel/busses/i2c-i801.c | 3 +++ prog/detect/sensors-detect | 8 ++++++++ 3 files changed, 12 insertions(+) diff --git a/doc/busses/i2c-i801 b/doc/busses/i2c-i801 index 0b6c4285..68ae96bc 100644 --- a/doc/busses/i2c-i801 +++ b/doc/busses/i2c-i801 @@ -8,6 +8,7 @@ Supported adapters: '810' and '810E' chipsets) * Intel 82801BA (ICH2 - part of the '815E' chipset) * Intel 82801CA/CAM (ICH3) + * Intel 82801DB (ICH4) Datasheets: Publicly available at the Intel website Author: Frodo Looijaard , Philip Edelbrock diff --git a/kernel/busses/i2c-i801.c b/kernel/busses/i2c-i801.c index 8239be48..5b3aea9e 100644 --- a/kernel/busses/i2c-i801.c +++ b/kernel/busses/i2c-i801.c @@ -26,6 +26,7 @@ 82801AB 2423 82801BA 2443 82801CA/CAM 2483 + 82801DB 24C3 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 @@ -61,11 +62,13 @@ MODULE_LICENSE("GPL"); #define PCI_DEVICE_ID_INTEL_82801BA_2 0x2443 #endif #define PCI_DEVICE_ID_INTEL_82801CA_SMBUS 0x2483 +#define PCI_DEVICE_ID_INTEL_82801DB_SMBUS 0x24C3 static int supported[] = {PCI_DEVICE_ID_INTEL_82801AA_3, PCI_DEVICE_ID_INTEL_82801AB_3, PCI_DEVICE_ID_INTEL_82801BA_2, PCI_DEVICE_ID_INTEL_82801CA_SMBUS, + PCI_DEVICE_ID_INTEL_82801DB_SMBUS, 0 }; /* I801 SMBus address offsets */ diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect index ede33922..64207175 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -96,6 +96,14 @@ use vars qw(@pci_adapters @chip_ids @undetectable_adapters); driver => "i2c-i801", match => sub { $_[0] =~ /^SMBus I801 adapter at [0-9,a-f]{4}/ }, } , + { + vendid => 0x8086, + devid => 0x24C3, + func => 3, + procid => "Intel 82801DB ICH4, + driver => "i2c-i801", + match => sub { $_[0] =~ /^SMBus I801 adapter at [0-9,a-f]{4}/ }, + } , { vendid => 0x1106, devid => 0x3040,