summaryrefslogtreecommitdiff
path: root/prog
diff options
context:
space:
mode:
Diffstat (limited to 'prog')
-rwxr-xr-xprog/detect/sensors-detect6
1 files changed, 3 insertions, 3 deletions
diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect
index 475b68f3..3a44141f 100755
--- a/prog/detect/sensors-detect
+++ b/prog/detect/sensors-detect
@@ -7240,9 +7240,9 @@ sub main
print "\n";
$superio_features = 0;
- # Skip "random" I/O port probing on PPC
- if ($kernel_arch ne 'ppc'
- && $kernel_arch ne 'ppc64') {
+ # Skip "random" I/O port probing on non-x86 machines
+ if ($kernel_arch =~ m/^i[3456]86$/
+ || $kernel_arch eq 'x86_64') {
print "Some Super I/O chips contain embedded sensors. We have to write to\n".
"standard I/O ports to probe them. This is usually safe.\n";
print "Do you want to scan for Super I/O sensors? (YES/no): ";