From fe72cfaec5797f810a2e7a77c6e6052342e54218 Mon Sep 17 00:00:00 2001 From: Idwer Vollering Date: Wed, 3 Jun 2009 16:41:11 +0000 Subject: Use macros for inb and outb which were forgotten in r568 This makes FreeBSD happy. Corresponding to flashrom svn r570. Signed-off-by: Idwer Vollering Acked-by: Carl-Daniel Hailfinger --- board_enable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'board_enable.c') diff --git a/board_enable.c b/board_enable.c index d4193a4..70e82c9 100644 --- a/board_enable.c +++ b/board_enable.c @@ -390,9 +390,9 @@ static int board_ga_k8n_sli(const char *name) base = pci_read_long(dev, 0x64) & 0x0000FF00; /* System control area */ /* if anyone knows more about nvidia lpcs, feel free to explain this */ - tmp = inb(base + 0xE1); + tmp = INB(base + 0xE1); tmp |= 0x05; - outb(tmp, base + 0xE1); + OUTB(tmp, base + 0xE1); return 0; } -- cgit v1.1