Remove channeling interrupts to IRQ1. Some chipsets don't do the

expected thing and that causes interference with keyboards.
This commit is contained in:
imp 2003-11-07 23:12:59 +00:00
parent af45f130d6
commit 24b1502b30

View File

@ -415,15 +415,22 @@ cbb_probe(device_t brdev)
* interrupts. These interrupts aren't really generated by the chip, since
* IRQ1 is reserved. Some chipsets assert INTA# inappropriately during
* initialization, so this helps to work around the problem.
*
* XXX We can't do this workaround for all chipsets, because this
* XXX causes interference with the keyboard because somechipsets will
* XXX actually signal IRQ1 over their serial interrupt connections to
* XXX the south bridge. Disable it it for now.
*/
static void
cbb_disable_func_intr(struct cbb_softc *sc)
{
uint8_t reg;
#if 0
reg = (exca_getb(&sc->exca, EXCA_INTR) & ~EXCA_INTR_IRQ_MASK) |
EXCA_INTR_IRQ_RESERVED1;
exca_putb(&sc->exca, EXCA_INTR, reg);
#endif
}
/*