Re: [no problem] PC110 broke 2.6.9

From: Linus Torvalds
Date: Sat Nov 06 2004 - 18:39:32 EST




On Sun, 7 Nov 2004, Andries Brouwer wrote:
>
> Yesterday I muttered that 2.6.9 had a mouse problem, and soon
> afterwards I also noticed that my ADSL didnt work.
>
> I just looked at what was wrong, and the reason turns out to be
> a correct fix in the pc110pad_init() call of request_region().
>
> Before 2.6.9 the test there was wrong, so that the region was
> seen as unavailable and pc110pad.c did not do anything.
>
> In 2.6.9 the test is correct, the region and irq are reserved and my
> ethernet card can no longer reserve its irq and ADSL fails.
> Moreover, now pc110pad.c does I/O causing my mouse problems.
>
> Easy solution: CONFIG_MOUSE_PC110PAD=n
>
> I write this in some detail in the hope that this inspires somebody
> to figure out whether it is possible to probe & detect this PC110.

Ahh.. Interesting. One improvement might be to make sure that this driver
links in very late in the game, so that if any other drivers have
allocated the IO, at least it won't override that. Also, it might make
sense to say that the dang thing can share interrupts.

But yes, we should probably make sure to make it harder to enable the
driver by mistake, and try to do minimal probing of it. I have no idea how
to probe for the thing, though.

Alan, Vojtech, do you have any register information on this thing? Some
docs to try to realize when it's not there? Or some other way to detect
the IBM PC110 hardware (BIOS strings, something?)

Linus
-
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/