diff options
author | Andriy Gapon <avg@icyb.net.ua> | 2008-10-28 22:13:38 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2008-10-28 22:13:38 +0000 |
commit | b64aa60f1fd5e6c84ec8ff6ad0baa7afee0d810a (patch) | |
tree | af1c87228d5b0ed4e7726cf406c742c9e72c2313 /util/superiotool/smsc.c | |
parent | c372aa4f77a81e24c1ced47b1da010814b3da3bf (diff) |
Allow superiotool to compile and work on FreeBSD. Tested on FreeBSD 7.
Signed-off-by: Andriy Gapon <avg@icyb.net.ua>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3698 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/superiotool/smsc.c')
-rw-r--r-- | util/superiotool/smsc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/superiotool/smsc.c b/util/superiotool/smsc.c index a45ee45a99..ae141ea815 100644 --- a/util/superiotool/smsc.c +++ b/util/superiotool/smsc.c @@ -608,13 +608,13 @@ static void enter_conf_mode_smsc(uint16_t port) * in the assumption that the extra 0x55 won't hurt the other * Super I/Os. This is verified to be true on (at least) the FDC37N769. */ - outb(0x55, port); - outb(0x55, port); + OUTB(0x55, port); + OUTB(0x55, port); } static void exit_conf_mode_smsc(uint16_t port) { - outb(0xaa, port); + OUTB(0xaa, port); } static void probe_idregs_smsc_helper(uint16_t port, uint8_t idreg, |