mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-30 22:05:11 +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:
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 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)
|
2.5.3 (20001008)
|
||||||
NOTE: i2c 2.5.3 MUST BE be compiled and installed first.
|
NOTE: i2c 2.5.3 MUST BE be compiled and installed first.
|
||||||
|
@@ -37,6 +37,9 @@
|
|||||||
#ifndef PCI_DEVICE_ID_VIA_82C596_3
|
#ifndef PCI_DEVICE_ID_VIA_82C596_3
|
||||||
#define PCI_DEVICE_ID_VIA_82C596_3 0x3050
|
#define PCI_DEVICE_ID_VIA_82C596_3 0x3050
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef PCI_DEVICE_ID_VIA_82C596B_3
|
||||||
|
#define PCI_DEVICE_ID_VIA_82C596B_3 0x3051
|
||||||
|
#endif
|
||||||
#ifndef PCI_DEVICE_ID_VIA_82C686_4
|
#ifndef PCI_DEVICE_ID_VIA_82C686_4
|
||||||
#define PCI_DEVICE_ID_VIA_82C686_4 0x3057
|
#define PCI_DEVICE_ID_VIA_82C686_4 0x3057
|
||||||
#endif
|
#endif
|
||||||
@@ -174,6 +177,11 @@ int vt596_setup(void)
|
|||||||
PCI_DEVICE_ID_VIA_82C686_4,
|
PCI_DEVICE_ID_VIA_82C686_4,
|
||||||
VT596_dev);
|
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) {
|
if (VT596_dev == NULL) {
|
||||||
printk
|
printk
|
||||||
("i2c-viapro.o: Error: Can't detect vt82c596 or vt82c686");
|
("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",
|
driver => "i2c-viapro",
|
||||||
match => sub { $_[0] =~ /^SMBus vt82c596 adapter at [0-9,a-f]{4}/ },
|
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,
|
vendid => 0x1106,
|
||||||
devid => 0x3057,
|
devid => 0x3057,
|
||||||
|
Reference in New Issue
Block a user