From 8b8d03974e11edbdbbd61c6b22d8013dca87be71 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Thu, 4 Oct 2007 15:23:38 +0000 Subject: * Convert the NSC code to the common code structure all other Super I/Os use. * Improve the --verbose output a bit more. Print the "Probing..." text for all Super I/Os and if a Super I/O is not known, show the data we were able to read from the chip (what data this is is very vendor/chip specific). * Thus the common no_superio_found() is dropped, it's not useful. The "read from 0x20" part was wrong for all Super I/Os other than the NSC ones anyway. * Winbond: For the 'olddevid' only use bits 3..0, mask away the others. * SMSC: Print which ID registers we try to read (in --verbose mode). * Minor cosmetic fixes. * Rename PC8374 to PC8374L (as per datasheet). * Rename probe_idregs_simple() to probe_idregs_nsc(). * Rename dump_readable_ns8374() to dump_readable_pc8374l(). Signed-off-by: Uwe Hermann Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2821 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/superiotool/ali.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'util/superiotool/ali.c') diff --git a/util/superiotool/ali.c b/util/superiotool/ali.c index 99dd00f694..e8bf36c577 100644 --- a/util/superiotool/ali.c +++ b/util/superiotool/ali.c @@ -72,6 +72,8 @@ void probe_idregs_ali(uint16_t port) uint16_t id; uint8_t rev; + probing_for("ALi", "", port); + enter_conf_mode_ali(port); id = regval(port, DEVICE_ID_BYTE1_REG) << 8; @@ -79,7 +81,8 @@ void probe_idregs_ali(uint16_t port) rev = regval(port, DEVICE_REV_REG); if (superio_unknown(reg_table, id)) { - no_superio_found("ALi", "", port); + if (verbose) + printf(NOTFOUND "id=0x%04x, rev=0x%02x\n", id, rev); exit_conf_mode_ali(port); return; } -- cgit v1.2.3