Default W83877TF SuperIO to all devices disabled. Fixes FIC VA-503+ IO

port conflicts introduced following APM/ACPI implementation.
This commit is contained in:
SarahW 2020-11-01 21:42:55 +00:00
commit 984437dfa9

View file

@ -235,14 +235,20 @@ static void w83877_common_init(int chip, uint16_t base, uint8_t key)
w83877tf_global.regs[0x16] = 0x04; w83877tf_global.regs[0x16] = 0x04;
else else
w83877tf_global.regs[0x16] = 0x05; w83877tf_global.regs[0x16] = 0x05;
w83877tf_global.regs[0x20] = 0xfc; w83877tf_global.regs[0x20] = 0;
w83877tf_global.regs[0x23] = 0xde; w83877tf_global.regs[0x23] = 0;
w83877tf_global.regs[0x24] = 0xfe; w83877tf_global.regs[0x24] = 0;
w83877tf_global.regs[0x25] = 0xbe; w83877tf_global.regs[0x25] = 0;
w83877tf_global.regs[0x26] = 0x23; w83877tf_global.regs[0x26] = 0;
w83877tf_global.regs[0x27] = 0x05; w83877tf_global.regs[0x27] = 0;
w83877tf_global.regs[0x28] = 0x43; w83877tf_global.regs[0x28] = 0;
w83877tf_global.regs[0x29] = 0x60; w83877tf_global.regs[0x29] = 0;
fdc_remove();
lpt1_remove();
lpt2_remove();
serial1_remove();
serial2_remove();
w83877tf_global.chip = chip; w83877tf_global.chip = chip;
w83877tf_global.unlock_key = key; w83877tf_global.unlock_key = key;