diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2007-09-19 00:03:14 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2007-09-19 00:03:14 +0000 |
commit | de24a0e58557ac7913e2f8174710f50e4697b1bd (patch) | |
tree | d09db121810e5c61fd12650defb033b9c2c0bed7 /util/superiotool/nsc.c | |
parent | d754d2c6c4970e686d004ea4d39c5e6599abf46f (diff) |
Use uint16_t and friends where appropriate (trivial).
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2783 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/superiotool/nsc.c')
-rw-r--r-- | util/superiotool/nsc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/superiotool/nsc.c b/util/superiotool/nsc.c index 0fb2b7463e..691ce13967 100644 --- a/util/superiotool/nsc.c +++ b/util/superiotool/nsc.c @@ -25,7 +25,7 @@ static const char *familyid[] = { [0xf1] = "PC8374 (Winbond/NatSemi)" }; -void dump_ns8374(unsigned short port) +void dump_ns8374(uint16_t port) { printf("Enables: 21=%02x, 22=%02x, 23=%02x, 24=%02x, 26=%02x\n", regval(port, 0x21), regval(port, 0x22), regval(port, 0x23), @@ -56,9 +56,9 @@ void dump_ns8374(unsigned short port) regval(port, 0xf0)); } -void probe_idregs_simple(unsigned short port) +void probe_idregs_simple(uint16_t port) { - unsigned char id; + uint16_t id; outb(0x20, port); if (inb(port) != 0x20) { |