mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-23 20:11:42 +00:00
Add support for the Intel Tolapai to i2c-i801. This is a backport from
Linux 2.6, original patch by Jason Gaston. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4946 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
ae1a60b19f
commit
f0c355da8c
4 files changed
+15
-1
No files matched your search
@@ -104,6 +104,10 @@
|
||||
#define PCI_DEVICE_ID_INTEL_ICH9_6 0x2930
|
||||
#endif
|
||||
|
||||
#ifndef PCI_DEVICE_ID_INTEL_TOLAPAI_1
|
||||
#define PCI_DEVICE_ID_INTEL_TOLAPAI_1 0x5032
|
||||
#endif
|
||||
|
||||
#ifdef I2C_CLIENT_PEC
|
||||
#define HAVE_PEC
|
||||
#endif
|
||||
@@ -175,7 +179,8 @@ static int __devinit i801_setup(struct pci_dev *dev)
|
||||
dev->device == PCI_DEVICE_ID_INTEL_ICH6_16 ||
|
||||
dev->device == PCI_DEVICE_ID_INTEL_ICH7_17 ||
|
||||
dev->device == PCI_DEVICE_ID_INTEL_ICH8_5 ||
|
||||
dev->device == PCI_DEVICE_ID_INTEL_ICH9_6)
|
||||
dev->device == PCI_DEVICE_ID_INTEL_ICH9_6 ||
|
||||
dev->device == PCI_DEVICE_ID_INTEL_TOLAPAI_1)
|
||||
isich4 = 1;
|
||||
else
|
||||
isich4 = 0;
|
||||
@@ -680,6 +685,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_TOLAPAI_1,
|
||||
.subvendor = PCI_ANY_ID,
|
||||
.subdevice = PCI_ANY_ID,
|
||||
},
|
||||
{ 0, }
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user