Allow superiotool to compile and work on FreeBSD. Tested on FreeBSD 7.
[coreboot.git] / util / superiotool / winbond.c
index 4e2794470b04aabbec44ac1c336c1a82e78f6dc3..91f06063eca96af46686765e63435a61de710938 100644 (file)
@@ -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)