mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-30 05:48:07 +00:00
(mds) add support for Via 596B with PCI ID 0x3051.
Found and patch submitted by Phil Langdale. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@901 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
parent
8251d7cbd3
commit
c8b9526eb2
5
CHANGES
5
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.
|
||||
|
@ -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");
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user