From fe72cfaec5797f810a2e7a77c6e6052342e54218 Mon Sep 17 00:00:00 2001
From: Idwer Vollering <vidwer@gmail.com>
Date: Wed, 3 Jun 2009 16:41:11 +0000
Subject: [PATCH] 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 <vidwer@gmail.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
---
 board_enable.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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;
 }
-- 
GitLab