From ae477bf06017bb98eb66293028ee886bc28d7026 Mon Sep 17 00:00:00 2001 From: imp Date: Fri, 7 Nov 2003 23:12:59 +0000 Subject: [PATCH] Remove channeling interrupts to IRQ1. Some chipsets don't do the expected thing and that causes interference with keyboards. --- sys/dev/pccbb/pccbb.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sys/dev/pccbb/pccbb.c b/sys/dev/pccbb/pccbb.c index fb9926f9ebb9..2571d0ad4eb9 100644 --- a/sys/dev/pccbb/pccbb.c +++ b/sys/dev/pccbb/pccbb.c @@ -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 } /*