mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-07 16:01:34 +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:
1 parent
8251d7cbd3
commit
c8b9526eb2
3 files changed
+20
-1
No files matched your search
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user