summaryrefslogtreecommitdiff
path: root/util/superiotool/smsc.c
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2008-12-01 14:18:57 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2008-12-01 14:18:57 +0000
commit7a51e50582b65bb6ac54e8923470807b5975c6e1 (patch)
tree9dcf146604016608951ec22602c1782e5d467f9a /util/superiotool/smsc.c
parentb4eb4fb6b06878c25a43458ff11cd3939d97c60e (diff)
downloadcoreboot-7a51e50582b65bb6ac54e8923470807b5975c6e1.tar.xz
The Winbond Super I/O chips have another indirection of registers. The
hwmon has generic registers and banked registers, mostly temperature handling, and SMI/GPIO stuff. Not all LDNs are switched via register offset 0x07, make it a parameter. Add support for dumping the hardware monitor of Winbond W83627THF/THG parts with the -e option. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3784 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/superiotool/smsc.c')
-rw-r--r--util/superiotool/smsc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/superiotool/smsc.c b/util/superiotool/smsc.c
index ae141ea815..bf23188168 100644
--- a/util/superiotool/smsc.c
+++ b/util/superiotool/smsc.c
@@ -643,7 +643,8 @@ static void probe_idregs_smsc_helper(uint16_t port, uint8_t idreg,
id, rev, port);
chip_found = 1;
- dump_superio((id == 0x77 ? "ASUS" : "SMSC"), reg_table, port, id);
+ dump_superio((id == 0x77 ? "ASUS" : "SMSC"), reg_table, port, id,
+ LDN_SEL);
exit_conf_mode_smsc(port);
}