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

+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, }
};