Add SMBus support for Intel PCH (Ibex Peak). Backport from Linux 2.6.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5375 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2008-10-24 08:24:12 +00:00
1 parent 8ce18bcaf0
commit d67849d4c5
4 files changed
+18 -4

No files matched your search

+1
View File
@@ -11,6 +11,7 @@ SVN-HEAD
max6646, max6647 and max6649
Module i2c-i801: Remove verbose debugging messages (2.6 backport)
Properly report bus arbitration lost (2.6 backport)
Add support for PCH (Ibex Peak) (2.6 backport)
Module i2c-piix4: Minor cleanups (2.6 backport)
Module i2c-viapro: Add VX800/VX820 support (2.6 backport)
Module lm78: Prevent misdetection of Winbond chips
+1 -1
View File
@@ -51,7 +51,7 @@ At least the following I2C/SMBus adapters are supported:
DEC 21272/21274 (Tsunami/Typhoon - on Alpha boards)
Intel ICH/ICH0/ICH2/ICH3/ICH4/ICH5/ICH6/ICH7/ICH8/ICH9 (82801xx)
Intel 6300ESB, 631xESB/632xESB (ESB2)
Intel Tolapai, ICH10
Intel Tolapai, ICH10, PCH
Intel PIIX4 (used in many Intel chipsets)
Intel I810/I810E/I815/I845G GMCH
Intel 82443MX (440MX)
+3 -2
View File
@@ -15,8 +15,9 @@ Supported adapters:
* Intel 6300ESB/ESB2
* Intel 82801FB/FR/FW/FRW (ICH6)
* Intel ICH7/ICH8/ICH9
* Intel Tolapai
* Intel ICH10
* Intel EP80579 (Tolapai)
* Intel 82801JI (ICH10)
* Intel PCH
Datasheets: Publicly available at the Intel website
Authors: Frodo Looijaard <frodol@dds.nl>, Philip Edelbrock
+13 -1
View File
@@ -37,6 +37,7 @@
Tolapai 5032 ("")
ICH10 3A30 ("")
ICH10 3A60 ("")
PCH 3B30 ("")
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
@@ -119,6 +120,10 @@
#define PCI_DEVICE_ID_INTEL_ICH10_5 0x3a60
#endif
#ifndef PCI_DEVICE_ID_INTEL_PCH_SMBUS
#ifdef PCI_DEVICE_ID_INTEL_PCH_SMBUS 0x3b30
#endif
#ifdef I2C_CLIENT_PEC
#define HAVE_PEC
#endif
@@ -192,7 +197,8 @@ static int __devinit i801_setup(struct pci_dev *dev)
dev->device == PCI_DEVICE_ID_INTEL_ICH9_6 ||
dev->device == PCI_DEVICE_ID_INTEL_TOLAPAI_1 ||
dev->device == PCI_DEVICE_ID_INTEL_ICH10_4 ||
dev->device == PCI_DEVICE_ID_INTEL_ICH10_5)
dev->device == PCI_DEVICE_ID_INTEL_ICH10_5 ||
dev->device == PCI_DEVICE_ID_INTEL_PCH_SMBUS)
isich4 = 1;
else
isich4 = 0;
@@ -682,6 +688,12 @@ static struct pci_device_id i801_ids[] __devinitdata = {
.subvendor = PCI_ANY_ID,
.subdevice = PCI_ANY_ID,
},
{
.vendor = PCI_VENDOR_ID_INTEL,
.device = PCI_DEVICE_ID_INTEL_PCH_SMBUS,
.subvendor = PCI_ANY_ID,
.subdevice = PCI_ANY_ID,
},
{ 0, }
};