Changeset 6016

Show
Ignore:
Timestamp:
01/31/12 13:51:31 (2 years ago)
Author:
khali
Message:

Properly handle Super-I/O chips without logical device. Just report
that we can't support the chip yet, instead of spitting I/O errors.

Location:
lm-sensors/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/CHANGES

    r6014 r6016  
    1717                  Add detection of National Semiconductor LM96163 
    1818                  Add detection of GMT G781 
     19                  Properly handle Super-I/O chips without logical device 
    1920 
    20213.3.1 (2011-07-21) 
  • lm-sensors/trunk/prog/detect/sensors-detect

    r6015 r6016  
    37663766                print "\n    (hardware monitoring capabilities accessible via SMBus only)\n"; 
    37673767                return FEAT_SMBUS; 
     3768        } 
     3769        if (!exists $chip->{logdev}) { 
     3770                print "\n    (no support yet)\n"; 
     3771                return 0; 
    37683772        } 
    37693773