Add support for the VIA VX800/VX820 SMBus. Backported from Linux 2.6.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5368 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2008-10-22 14:16:51 +00:00
1 parent 0e97b89004
commit c374f6237c
5 files changed
+24 -5

No files matched your search

+13
View File
@@ -37,6 +37,7 @@
VT8237A 0x3337 yes
VT8251 0x3287 yes
CX700 0x8324 yes
VX800/VX820 0x8353 yes
Note: we assume there can only be one device, with one SMBus interface.
*/
@@ -76,6 +77,10 @@
#ifndef PCI_DEVICE_ID_VIA_CX700
#define PCI_DEVICE_ID_VIA_CX700 0x8324
#endif
/* VX800 is undefined */
#ifndef PCI_DEVICE_ID_VIA_VX800
#define PCI_DEVICE_ID_VIA_VX800 0x8353
#endif
#define SMBBA1 0x90
#define SMBBA2 0x80
@@ -424,6 +429,7 @@ found:
switch (id->device) {
case PCI_DEVICE_ID_VIA_CX700:
case PCI_DEVICE_ID_VIA_VX800:
case PCI_DEVICE_ID_VIA_8251:
case PCI_DEVICE_ID_VIA_8237:
case PCI_DEVICE_ID_VIA_8237A:
@@ -529,6 +535,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_VX800,
.subvendor = PCI_ANY_ID,
.subdevice = PCI_ANY_ID,
.driver_data = SMBBA3
},
{ 0, }
};