Apparently I'm not the only one who forgets which way the outb and
outl arguments go. Signed-off-by: Ed Swierk <eswierk@aristanetworks.com> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4422 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
@@ -38,7 +38,7 @@ static void sb_init(device_t dev)
|
||||
byte |= ( 1 << 7); // Can not mask NMI from PCI-E and NMI_NOW
|
||||
}
|
||||
if( byte != byte_old) {
|
||||
outb(0x70, byte);
|
||||
outb(byte, 0x70);
|
||||
}
|
||||
|
||||
|
||||
|
@@ -245,7 +245,7 @@ static void lpc_init(device_t dev)
|
||||
byte |= (1 << 7); /* Can't mask NMI from PCI-E and NMI_NOW. */
|
||||
}
|
||||
if (byte != byte_old)
|
||||
outb(0x70, byte);
|
||||
outb(byte, 0x70);
|
||||
|
||||
/* Initialize the real time clock (RTC). */
|
||||
rtc_init(0);
|
||||
|
@@ -230,7 +230,7 @@ static void lpc_init(device_t dev)
|
||||
byte |= ( 1 << 7); // Can not mask NMI from PCI-E and NMI_NOW
|
||||
}
|
||||
if( byte != byte_old) {
|
||||
outb(0x70, byte);
|
||||
outb(byte, 0x70);
|
||||
}
|
||||
|
||||
/* Initialize the real time clock */
|
||||
|
@@ -220,7 +220,7 @@ static void lpc_init(device_t dev)
|
||||
byte |= ( 1 << 7); // Can not mask NMI from PCI-E and NMI_NOW
|
||||
}
|
||||
if( byte != byte_old) {
|
||||
outb(0x70, byte);
|
||||
outb(byte, 0x70);
|
||||
}
|
||||
|
||||
/* Initialize the real time clock */
|
||||
|
Reference in New Issue
Block a user