Changeset 950

Show
Ignore:
Timestamp:
12/15/00 18:30:20 (13 years ago)
Author:
phil
Message:

(Phil) Added a redundant define for Serverworks PCI vendor ID, for those
kernels which need it. Also tweaked sensors-detect to work seemlessly
with the new driver. Driver is tested, and works as expected! (Yeah!)

Location:
lm-sensors/trunk
Files:
2 modified

Legend:

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

    r949 r950  
    3737#ifndef PCI_DEVICE_ID_SERVERWORKS_OSB4 
    3838#define PCI_DEVICE_ID_SERVERWORKS_OSB4 0x0200 
     39#endif 
     40 
     41#ifndef PCI_VENDOR_ID_SERVERWORKS 
     42#define PCI_VENDOR_ID_SERVERWORKS 0x01166 
    3943#endif 
    4044 
  • lm-sensors/trunk/prog/detect/sensors-detect

    r937 r950  
    358358       func => 0, 
    359359       procid => "ServerWorks South Bridge", 
    360        match => sub { $_[0] =~ /^ServerWorks tobewritten/ }, 
     360       driver => "i2c-osb4", 
     361       match => sub { $_[0] =~ /^SMBus OSB4 adapter at / }, 
    361362     } ,  
    362363);