From: Guenter Roeck Date: Sun, 29 Mar 2015 23:33:17 +0000 (-0700) Subject: Fix superio enable sequence for SIO address 0x4e X-Git-Tag: v1.0~67 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1bbf1353faf2d8ad591a5da7954b9ae8e95f7147;p=groeck-it87 Fix superio enable sequence for SIO address 0x4e Signed-off-by: Guenter Roeck --- diff --git a/it87.c b/it87.c index 54b1bde..5250f28 100644 --- a/it87.c +++ b/it87.c @@ -130,7 +130,7 @@ static inline int superio_enter(int ioreg) outb(0x87, ioreg); outb(0x01, ioreg); outb(0x55, ioreg); - outb(0x55, ioreg); + outb(ioreg == REG_4E ? 0xaa : 0x55, ioreg); return 0; }