Added support for the superio. Serial works but no serial interrupts work.
This is to support sercons for 2.2.16
This commit is contained in:
parent
2346f26a98
commit
a2df0ebecd
3 changed files with 11 additions and 24 deletions
|
|
@ -9,6 +9,12 @@ void
|
|||
final_mainboard_fixup(void)
|
||||
{
|
||||
void final_southbridge_fixup(void);
|
||||
void final_superio_fixup(void);
|
||||
|
||||
final_southbridge_fixup();
|
||||
printk(KERN_INFO "Final mainboard fixup done for Winfast 6300 (and similar)\n");
|
||||
final_superio_fixup();
|
||||
|
||||
printk(KERN_INFO
|
||||
"Final mainboard fixup done for Winfast 6300 (and similar)\n");
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -57,28 +57,6 @@ void nvram_on()
|
|||
pci_write_config_word(pcidev, 0x72, 0x1fff);
|
||||
}
|
||||
}
|
||||
/* turn on the floppy. On some chipsets you have to do this. */
|
||||
#ifdef MUST_ENABLE_FLOPPY
|
||||
void enable_floppy()
|
||||
{
|
||||
/* unlock it XXX make this a subr at some point */
|
||||
outb(0x87, 0x2e);
|
||||
outb(0x01, 0x2e);
|
||||
outb(0x55, 0x2e);
|
||||
outb(0x55, 0x2e);
|
||||
|
||||
/* now set the LDN to floppy LDN */
|
||||
outb(0x7, 0x2e); /* pick reg. 7 */
|
||||
outb(0x0, 0x2f); /* LDN 0 to reg. 7 */
|
||||
|
||||
/* now select register 0x30, and set bit 1 in that register */
|
||||
outb(0x30, 0x2e);
|
||||
outb(0x1, 0x2f);
|
||||
|
||||
/* all done. */
|
||||
outb(1, 0x2e);
|
||||
}
|
||||
#endif /* MUST_ENABLE_FLOPPY */
|
||||
|
||||
// simple fixup (which we hope can leave soon) for the sis southbridge part
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue