mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-03 13:38:25 +00:00
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. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6016 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
2e65243b16
commit
c9c0cb604f
2 files changed
+5
No files matched your search
@@ -16,6 +16,7 @@ SVN HEAD
|
||||
Make LM73 detection less problematic
|
||||
Add detection of National Semiconductor LM96163
|
||||
Add detection of GMT G781
|
||||
Properly handle Super-I/O chips without logical device
|
||||
|
||||
3.3.1 (2011-07-21)
|
||||
isadump: Add support for word (16-bit) and long (32-bit) reads
|
||||
|
||||
@@ -3766,6 +3766,10 @@ sub probe_superio
|
||||
print "\n (hardware monitoring capabilities accessible via SMBus only)\n";
|
||||
return FEAT_SMBUS;
|
||||
}
|
||||
if (!exists $chip->{logdev}) {
|
||||
print "\n (no support yet)\n";
|
||||
return 0;
|
||||
}
|
||||
|
||||
# Switch to the sensor logical device
|
||||
outb($addrreg, $superio{logdevreg});
|
||||
|
||||
Reference in new issue
Block a user