diff --git a/CHANGES b/CHANGES index 940e6e3c..b6321df5 100644 --- a/CHANGES +++ b/CHANGES @@ -31,6 +31,7 @@ lm_sensors CHANGES file Add ATI IXP200, IXP300, IXP400 support (2.6 backport) Drop the fix_hstcfg parameter (2.6 backport) Module i2c-viapro: Fix compilation with kernels < 2.4.21 + Add VT8237A and VT8251 Module lm83: Add LM82 support (2.6 backport) Module w83781d: Use real-time alarm registers when possible (2.6 backport) Add specific alarm and beep defines for the W83791D @@ -76,6 +77,7 @@ lm_sensors CHANGES file ADT7466, ADT7470, ADT7473 and ADT7475 detection Check for root user at startup Attempt to be slighly more user-friendly + Add VT8237A and VT8251 2.10.0 (20060214) diff --git a/kernel/busses/i2c-viapro.c b/kernel/busses/i2c-viapro.c index 2739eda5..ac0536b7 100644 --- a/kernel/busses/i2c-viapro.c +++ b/kernel/busses/i2c-viapro.c @@ -34,6 +34,8 @@ VT8233A 0x3147 yes? VT8235 0x3177 yes VT8237R 0x3227 yes + VT8237A 0x3337 yes + VT8251 0x3287 yes Note: we assume there can only be one device, with one SMBus interface. */ @@ -61,6 +63,14 @@ #ifndef PCI_DEVICE_ID_VIA_8237 #define PCI_DEVICE_ID_VIA_8237 0x3227 #endif +/* 8237A is undefined as for the kernel 2.4.33 */ +#ifndef PCI_DEVICE_ID_VIA_8237A +#define PCI_DEVICE_ID_VIA_8237A 0x3337 +#endif +/* 8251 is undefined as for the kernel 2.4.33 */ +#ifndef PCI_DEVICE_ID_VIA_8251 +#define PCI_DEVICE_ID_VIA_8251 0x3287 +#endif #define SMBBA1 0x90 #define SMBBA2 0x80 @@ -408,7 +418,9 @@ found: dev_dbg(pdev, "VT596_smba = 0x%X\n", vt596_smba); switch (id->device) { + case PCI_DEVICE_ID_VIA_8251: case PCI_DEVICE_ID_VIA_8237: + case PCI_DEVICE_ID_VIA_8237A: case PCI_DEVICE_ID_VIA_8235: case PCI_DEVICE_ID_VIA_8233A: case PCI_DEVICE_ID_VIA_8233_0: @@ -483,6 +495,13 @@ static struct pci_device_id vt596_ids[] __initdata = { .subdevice = PCI_ANY_ID, .driver_data = SMBBA3 }, + { + .vendor = PCI_VENDOR_ID_VIA, + .device = PCI_DEVICE_ID_VIA_8237A, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + .driver_data = SMBBA3 + }, { .vendor = PCI_VENDOR_ID_VIA, .device = PCI_DEVICE_ID_VIA_8231_4, @@ -490,6 +509,13 @@ static struct pci_device_id vt596_ids[] __initdata = { .subdevice = PCI_ANY_ID, .driver_data = SMBBA1, }, + { + .vendor = PCI_VENDOR_ID_VIA, + .device = PCI_DEVICE_ID_VIA_8251, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + .driver_data = SMBBA3 + }, { 0, } };