Author: hailfinger
Date: 2009-06-03 18:41:11 +0200 (Wed, 03 Jun 2009)
New Revision: 570

Modified:
   trunk/board_enable.c
Log:
Use macros for inb and outb which were forgotten in r568.
This makes FreeBSD happy.

Signed-off-by: Idwer Vollering <[email protected]>
Acked-by: Carl-Daniel Hailfinger <[email protected]>


Modified: trunk/board_enable.c
===================================================================
--- trunk/board_enable.c        2009-06-03 14:46:22 UTC (rev 569)
+++ trunk/board_enable.c        2009-06-03 16:41:11 UTC (rev 570)
@@ -390,9 +390,9 @@
        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;
 }


-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to