Allow superiotool to compile and work on FreeBSD. Tested on FreeBSD 7.
Signed-off-by: Andriy Gapon <avg@icyb.net.ua> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3698 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
committed by
Uwe Hermann
parent
c372aa4f77
commit
b64aa60f1f
@ -608,13 +608,13 @@ static void enter_conf_mode_smsc(uint16_t port)
|
||||
* in the assumption that the extra 0x55 won't hurt the other
|
||||
* Super I/Os. This is verified to be true on (at least) the FDC37N769.
|
||||
*/
|
||||
outb(0x55, port);
|
||||
outb(0x55, port);
|
||||
OUTB(0x55, port);
|
||||
OUTB(0x55, port);
|
||||
}
|
||||
|
||||
static void exit_conf_mode_smsc(uint16_t port)
|
||||
{
|
||||
outb(0xaa, port);
|
||||
OUTB(0xaa, port);
|
||||
}
|
||||
|
||||
static void probe_idregs_smsc_helper(uint16_t port, uint8_t idreg,
|
||||
|
Reference in New Issue
Block a user