2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-09-01 14:55:27 +00:00

Report unsupported Access Bus adapters, as we already do for SMBus.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5753 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare
2009-07-09 20:05:17 +00:00
parent a3eb98b8db
commit f69dbc887a
2 changed files with 3 additions and 1 deletions

View File

@@ -6,6 +6,7 @@ SVN-HEAD
sensors.conf.default: Encourage user to not modify this file sensors.conf.default: Encourage user to not modify this file
sensors-detect: Refer to tmp401 driver if TMP411 is detected sensors-detect: Refer to tmp401 driver if TMP411 is detected
Clean up the discovery of i2c adapters Clean up the discovery of i2c adapters
Report unsupported Access Bus adapters
3.1.1 (2009-06-21) 3.1.1 (2009-06-21)
isadump: Use geteuid instead of getuid so that setuid bit works isadump: Use geteuid instead of getuid so that setuid bit works

View File

@@ -2519,7 +2519,8 @@ sub adapter_pci_detection
$device = $pci_list{$key}; $device = $pci_list{$key};
$smbus{$key}++ $smbus{$key}++
if exists $device->{class} && if exists $device->{class} &&
$device->{class} == 0x0c05; # SMBus ($device->{class} == 0x0c01 || # Access Bus
$device->{class} == 0x0c05); # SMBus
} }
# Loop over the known I2C/SMBus adapters # Loop over the known I2C/SMBus adapters