Re: PNP parallel&serial ports: module reload fails (2.6.11)?

From: Bjorn Helgaas
Date: Fri Jun 10 2005 - 11:03:11 EST


On Thursday 09 June 2005 3:16 pm, Russell King wrote:
> The reason that 8250 first detects your ports is that they're found
> via the legacy method which is independent of PnP. As you correctly
> sumise, when you unload 8250_pnp, it disables the device so when you
> re-load 8250, it's unable to detect your ports using the legacy method.
>
> But the legacy method needs to continue to exist for systems which
> don't have PnP enabled.

But shouldn't we someday move the legacy probing from 8250
into an 8250_platform and only do it if we don't have 8250_pnp?

I think David Woodhouse suggested something like this a while
back, but I can't find a great reference for it. Here's a
thread (unfortunately split into sections by the archive)
that mentions it:

http://www.ussg.iu.edu/hypermail/linux/kernel/0409.3/1545.html
http://www.ussg.iu.edu/hypermail/linux/kernel/0410.0/0084.html
http://www.ussg.iu.edu/hypermail/linux/kernel/0411.0/0127.html

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