mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-31 22:35:23 +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:
@@ -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