summaryrefslogtreecommitdiff
path: root/util/superiotool/smsc.c
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2007-09-19 00:03:14 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2007-09-19 00:03:14 +0000
commitde24a0e58557ac7913e2f8174710f50e4697b1bd (patch)
treed09db121810e5c61fd12650defb033b9c2c0bed7 /util/superiotool/smsc.c
parentd754d2c6c4970e686d004ea4d39c5e6599abf46f (diff)
downloadcoreboot-de24a0e58557ac7913e2f8174710f50e4697b1bd.tar.xz
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/smsc.c')
-rw-r--r--util/superiotool/smsc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/superiotool/smsc.c b/util/superiotool/smsc.c
index f836b94a99..7636001bc1 100644
--- a/util/superiotool/smsc.c
+++ b/util/superiotool/smsc.c
@@ -41,7 +41,7 @@ const static struct superio_registers reg_table[] = {
};
/* Note: The actual SMSC ID is 16 bits, but we must pass 32 bits here. */
-void dump_smsc(uint32_t port, uint32_t id)
+void dump_smsc(uint16_t port, uint16_t id)
{
switch (id) {
case 0x28:
@@ -53,7 +53,7 @@ void dump_smsc(uint32_t port, uint32_t id)
}
}
-void probe_idregs_smsc(unsigned short port)
+void probe_idregs_smsc(uint16_t port)
{
uint16_t id, rev;