diff --git a/CHANGES b/CHANGES index 0668cf3a..6507643d 100644 --- a/CHANGES +++ b/CHANGES @@ -17,8 +17,11 @@ ask CVS about it: ----------------------- -2.5.4 or 2.6.0 (2000????) +2.5.4 (2000????) + Module i2c-viapro: Add support for Via 596B (0x3051) Program m7101: moved to CVS tree, updated for 2.4.0 kernels + Program mkpatch.pl: fixed infinite loop + Program sensors-detect: Detect Via 596B (0x3051) 2.5.3 (20001008) NOTE: i2c 2.5.3 MUST BE be compiled and installed first. diff --git a/kernel/busses/i2c-viapro.c b/kernel/busses/i2c-viapro.c index 07df55a3..32980f1f 100644 --- a/kernel/busses/i2c-viapro.c +++ b/kernel/busses/i2c-viapro.c @@ -37,6 +37,9 @@ #ifndef PCI_DEVICE_ID_VIA_82C596_3 #define PCI_DEVICE_ID_VIA_82C596_3 0x3050 #endif +#ifndef PCI_DEVICE_ID_VIA_82C596B_3 +#define PCI_DEVICE_ID_VIA_82C596B_3 0x3051 +#endif #ifndef PCI_DEVICE_ID_VIA_82C686_4 #define PCI_DEVICE_ID_VIA_82C686_4 0x3057 #endif @@ -174,6 +177,11 @@ int vt596_setup(void) PCI_DEVICE_ID_VIA_82C686_4, VT596_dev); + if (VT596_dev == NULL) + VT596_dev = pci_find_device(PCI_VENDOR_ID_VIA, + PCI_DEVICE_ID_VIA_82C596B_3, + VT596_dev); + if (VT596_dev == NULL) { printk ("i2c-viapro.o: Error: Can't detect vt82c596 or vt82c686"); diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect index 0468f1e2..c38aab2a 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -96,6 +96,14 @@ use vars qw(@pci_adapters @chip_ids @undetectable_adapters); driver => "i2c-viapro", match => sub { $_[0] =~ /^SMBus vt82c596 adapter at [0-9,a-f]{4}/ }, } , + { + vendid => 0x1106, + devid => 0x3051, + func => 3, + procid => "VIA Technologies VT 82C596B ACPI", + driver => "i2c-viapro", + match => sub { $_[0] =~ /^SMBus vt82c596 adapter at [0-9,a-f]{4}/ }, + } , { vendid => 0x1106, devid => 0x3057,