summaryrefslogtreecommitdiff
path: root/util/superiotool/winbond.c
diff options
context:
space:
mode:
authorAndriy Gapon <avg@icyb.net.ua>2008-10-28 22:13:38 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2008-10-28 22:13:38 +0000
commitb64aa60f1fd5e6c84ec8ff6ad0baa7afee0d810a (patch)
treeaf1c87228d5b0ed4e7726cf406c742c9e72c2313 /util/superiotool/winbond.c
parentc372aa4f77a81e24c1ced47b1da010814b3da3bf (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/winbond.c')
-rw-r--r--util/superiotool/winbond.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/superiotool/winbond.c b/util/superiotool/winbond.c
index 4e2794470b..91f06063ec 100644
--- a/util/superiotool/winbond.c
+++ b/util/superiotool/winbond.c
@@ -470,18 +470,18 @@ static const struct superio_registers reg_table[] = {
static void enter_conf_mode_winbond_88(uint16_t port)
{
- outb(0x88, port);
+ OUTB(0x88, port);
}
static void enter_conf_mode_winbond_89(uint16_t port)
{
- outb(0x89, port);
+ OUTB(0x89, port);
}
static void enter_conf_mode_winbond_86(uint16_t port)
{
- outb(0x86, port);
- outb(0x86, port);
+ OUTB(0x86, port);
+ OUTB(0x86, port);
}
static void probe_idregs_winbond_helper(const char *init, uint16_t port)