From f69dbc887a3df6e7e8df852ffefeb475f4efcff6 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Thu, 9 Jul 2009 20:05:17 +0000 Subject: [PATCH] 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 --- CHANGES | 1 + prog/detect/sensors-detect | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 43070907..7c8f0430 100644 --- a/CHANGES +++ b/CHANGES @@ -6,6 +6,7 @@ SVN-HEAD sensors.conf.default: Encourage user to not modify this file sensors-detect: Refer to tmp401 driver if TMP411 is detected Clean up the discovery of i2c adapters + Report unsupported Access Bus adapters 3.1.1 (2009-06-21) isadump: Use geteuid instead of getuid so that setuid bit works diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect index 4419d0f7..54ba6c9e 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -2519,7 +2519,8 @@ sub adapter_pci_detection $device = $pci_list{$key}; $smbus{$key}++ if exists $device->{class} && - $device->{class} == 0x0c05; # SMBus + ($device->{class} == 0x0c01 || # Access Bus + $device->{class} == 0x0c05); # SMBus } # Loop over the known I2C/SMBus adapters