mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-31 22:35:23 +00:00
Properly handle ISA probe skip for Super I/O those registers are accessed
on the SMBus. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5516 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
@@ -1134,6 +1134,7 @@ use vars qw(@superio_ids_natsemi @superio_ids_smsc @superio_ids_smsc_ns
|
|||||||
use constant FEAT_IN => (1 << 0);
|
use constant FEAT_IN => (1 << 0);
|
||||||
use constant FEAT_FAN => (1 << 1);
|
use constant FEAT_FAN => (1 << 1);
|
||||||
use constant FEAT_TEMP => (1 << 2);
|
use constant FEAT_TEMP => (1 << 2);
|
||||||
|
use constant FEAT_SMBUS => (1 << 7);
|
||||||
|
|
||||||
@superio_ids_natsemi = (
|
@superio_ids_natsemi = (
|
||||||
{
|
{
|
||||||
@@ -2992,7 +2993,7 @@ sub probe_superio
|
|||||||
}
|
}
|
||||||
if ($chip->{driver} eq "via-smbus-only") {
|
if ($chip->{driver} eq "via-smbus-only") {
|
||||||
print "\n (hardware monitoring capabilities accessible via SMBus only)\n";
|
print "\n (hardware monitoring capabilities accessible via SMBus only)\n";
|
||||||
return 0;
|
return FEAT_SMBUS;
|
||||||
}
|
}
|
||||||
|
|
||||||
# Switch to the sensor logical device
|
# Switch to the sensor logical device
|
||||||
|
Reference in New Issue
Block a user