diff options
author | khali <khali@7894878c-1315-0410-8ee3-d5d059ff63e0> | 2006-06-23 13:45:08 +0000 |
---|---|---|
committer | khali <khali@7894878c-1315-0410-8ee3-d5d059ff63e0> | 2006-06-23 13:45:08 +0000 |
commit | 0d894fa8e96e5ab584df31644085adf6f71e41dd (patch) | |
tree | 252b98a0c93680a0bd2dc7685bd997a287cd5924 | |
parent | 8462370b372bec80bb2f6ab285d8ab8668ec8b9f (diff) | |
download | lm-sensors-0d894fa8e96e5ab584df31644085adf6f71e41dd.tar.gz |
i2c-piix4: Add ATI IXP200, IXP300, IXP400 support (2.6 backport)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4050 7894878c-1315-0410-8ee3-d5d059ff63e0
-rw-r--r-- | CHANGES | 1 | ||||
-rw-r--r-- | README | 1 | ||||
-rw-r--r-- | doc/busses/i2c-piix4 | 2 | ||||
-rw-r--r-- | kernel/busses/i2c-piix4.c | 26 | ||||
-rwxr-xr-x | mkpatch/mkpatch.pl | 6 |
5 files changed, 33 insertions, 3 deletions
@@ -16,6 +16,7 @@ lm_sensors CHANGES file Module i2c-i801: Disable PEC mode after every transaction (2.6 backport) Add ICH8 support (2.6 backport) Module i2c-piix4: Add ServerWorks HT-1000 support (2.6 backport) + Add ATI IXP200, IXP300, IXP400 support (2.6 backport) Module i2c-viapro: Fix compilation with kernels < 2.4.21 Module lm83: Add LM82 support (2.6 backport) Module w83781d: Use real-time alarm registers when possible (2.6 backport) @@ -57,6 +57,7 @@ At least the following I2C/SMBus adapters are supported: AMD 756, 766, 768 and 8111 AMD 8111 SMBus 2.0 Apple Hydra (used on some PPC machines) + ATI IXP200, IXP300, IXP400 DEC 21272/21274 (Tsunami/Typhoon - on Alpha boards) Intel I801 ICH/ICH0/ICH2/ICH3/ICH4/ICH5/ICH6 (82801xx), 6300ESB, ICH7 Intel PIIX4 (used in many Intel chipsets) diff --git a/doc/busses/i2c-piix4 b/doc/busses/i2c-piix4 index 5e97a88e..9e426ce4 100644 --- a/doc/busses/i2c-piix4 +++ b/doc/busses/i2c-piix4 @@ -9,6 +9,8 @@ Supported adapters: Datasheet: Publicly available at the Intel website * ServerWorks OSB4, CSB5, CSB6 and HT-1000 southbridges Datasheet: Only available via NDA from ServerWorks + * ATI IXP southbridges IXP200, IXP300, IXP400 + Datasheet: Not publicly available * Standard Microsystems (SMSC) SLC90E66 (Victory66) southbridge Datasheet: Publicly available at the SMSC website http://www.smsc.com diff --git a/kernel/busses/i2c-piix4.c b/kernel/busses/i2c-piix4.c index 3e6e4ad4..5383de40 100644 --- a/kernel/busses/i2c-piix4.c +++ b/kernel/busses/i2c-piix4.c @@ -23,6 +23,7 @@ Supports: Intel PIIX4, 440MX Serverworks OSB4, CSB5, CSB6, HT-1000 + ATI IXP200, IXP300, IXP400 SMSC Victory66 Note: we assume there can only be one device, with one SMBus interface. @@ -455,6 +456,10 @@ static struct i2c_adapter piix4_adapter = { .dec_use = piix4_dec, }; +#define PCI_DEVICE_ID_ATI_IXP200_SMBUS 0x4353 +#define PCI_DEVICE_ID_ATI_IXP300_SMBUS 0x4363 +#define PCI_DEVICE_ID_ATI_IXP400_SMBUS 0x4372 + #ifndef PCI_DEVICE_ID_SERVERWORKS_CSB6 #define PCI_DEVICE_ID_SERVERWORKS_CSB6 0x0203 #endif @@ -470,6 +475,27 @@ static struct pci_device_id piix4_ids[] __devinitdata = { .driver_data = 3 }, { + .vendor = PCI_VENDOR_ID_ATI, + .device = PCI_DEVICE_ID_ATI_IXP200_SMBUS, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + .driver_data = 0, + }, + { + .vendor = PCI_VENDOR_ID_ATI, + .device = PCI_DEVICE_ID_ATI_IXP300_SMBUS, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + .driver_data = 0, + }, + { + .vendor = PCI_VENDOR_ID_ATI, + .device = PCI_DEVICE_ID_ATI_IXP400_SMBUS, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + .driver_data = 0, + }, + { .vendor = PCI_VENDOR_ID_SERVERWORKS, .device = PCI_DEVICE_ID_SERVERWORKS_OSB4, .subvendor = PCI_ANY_ID, diff --git a/mkpatch/mkpatch.pl b/mkpatch/mkpatch.pl index 5104ae18..a059fd0a 100755 --- a/mkpatch/mkpatch.pl +++ b/mkpatch/mkpatch.pl @@ -224,9 +224,9 @@ Intel 82371AB PIIX4(E), ServerWorks OSB4, CSB5, CSB6, HT-1000 CONFIG_I2C_PIIX4 If you say yes to this option, support will be included for the Intel PIIX4, PIIX4E, 443MX, Serverworks OSB4, CSB5, CSB6 and - HT-1000, and SMSC Victory66 mainboard I2C interfaces. This can also be - built as a module which can be inserted and removed while the kernel - is running. + HT-1000, ATI IXP200, IXP300 and IXP400, and SMSC Victory66 mainboard + I2C interfaces. This can also be built as a module which can be + inserted and removed while the kernel is running. Nvidia Nforce2/Nforce3 based Mainboard CONFIG_I2C_NFORCE2 |