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
@@ -60,13 +60,13 @@ static const struct superio_registers reg_table[] = {
|
||||
|
||||
static void enter_conf_mode_ali(uint16_t port)
|
||||
{
|
||||
outb(0x51, port);
|
||||
outb(0x23, port);
|
||||
OUTB(0x51, port);
|
||||
OUTB(0x23, port);
|
||||
}
|
||||
|
||||
static void exit_conf_mode_ali(uint16_t port)
|
||||
{
|
||||
outb(0xbb, port);
|
||||
OUTB(0xbb, port);
|
||||
}
|
||||
|
||||
void probe_idregs_ali(uint16_t port)
|
||||
|
Reference in New Issue
Block a user