summaryrefslogtreecommitdiff
path: root/util/superiotool/nsc.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/superiotool/nsc.c')
-rw-r--r--util/superiotool/nsc.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/util/superiotool/nsc.c b/util/superiotool/nsc.c
index 691ce13967..c308256e7f 100644
--- a/util/superiotool/nsc.c
+++ b/util/superiotool/nsc.c
@@ -62,10 +62,7 @@ void probe_idregs_simple(uint16_t port)
outb(0x20, port);
if (inb(port) != 0x20) {
- if (inb(port) == 0xff)
- printf("No Super I/O chip found at 0x%04x\n", port);
- else
- printf("Probing 0x%04x, failed (0x%02x), data returns 0x%02x\n", port, inb(port), inb(port + 1));
+ no_superio_found(port);
return;
}
id = inb(port + 1);