Re: [PATCH] PNP support for i8042 driver

From: Dmitry Torokhov
Date: Tue Nov 16 2004 - 01:29:50 EST


On Monday 15 November 2004 05:52 pm, matthieu castet wrote:
> Hi,
>
> Dmitry Torokhov wrote:
> >
> > I think you need to make an effort to make a PCI device use IRQ12
> > but the idea is that if you don't have a mouse attached (but you do
> > have i8042) and you are short on free interrupts and your HW can
> > use IRQ12 for some other stuff let it have it. That is the reqson why
> > i8042 requests IRQ only when corresponding port is open. No mouse -
> > IRQ is free.
> >
> And what happen if you use irq12 for an other stuff and you plug your
> mouse and try to use it. The motherboard hasn't desalocated the irq12
> for mouse, so there will be a big conflict...
>

Actually no. The driver will not enable the AUX port unless IRQ12 (or
whatever ACPI/PNP IRQ reported) is available and therefore mouse movement
will not generate any interrupts.

Anyway, I'll shut up if you promise to merge ACPI and PNP together so
i8042 does not have 2 nearly identical implementations in i8042-x86ia64.h

--
Dmitry
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/