Show
Ignore:
Timestamp:
10/22/08 16:16:51 (4 years ago)
Author:
khali
Message:

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

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/kernel/busses/i2c-viapro.c

    r4319 r5368  
    3838   VT8251             0x3287             yes 
    3939   CX700              0x8324             yes 
     40   VX800/VX820        0x8353             yes 
    4041 
    4142   Note: we assume there can only be one device, with one SMBus interface. 
     
    7677#ifndef PCI_DEVICE_ID_VIA_CX700 
    7778#define PCI_DEVICE_ID_VIA_CX700 0x8324 
     79#endif 
     80/* VX800 is undefined */ 
     81#ifndef PCI_DEVICE_ID_VIA_VX800 
     82#define PCI_DEVICE_ID_VIA_VX800 0x8353 
    7883#endif 
    7984 
     
    425430        switch (id->device) { 
    426431        case PCI_DEVICE_ID_VIA_CX700: 
     432        case PCI_DEVICE_ID_VIA_VX800: 
    427433        case PCI_DEVICE_ID_VIA_8251: 
    428434        case PCI_DEVICE_ID_VIA_8237: 
     
    530536                .driver_data    = SMBBA3 
    531537        }, 
     538        { 
     539                .vendor         = PCI_VENDOR_ID_VIA, 
     540                .device         = PCI_DEVICE_ID_VIA_VX800, 
     541                .subvendor      = PCI_ANY_ID, 
     542                .subdevice      = PCI_ANY_ID, 
     543                .driver_data    = SMBBA3 
     544        }, 
    532545        { 0, } 
    533546};