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

Russell King
2005-06-10T16:31:16Z

On Fri, Jun 10, 2005 at 10:01:40AM -0600, Bjorn Helgaas wrote:
> 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?

The structure's already there. The biggest problem is the amount of
shere work there is to fix all the bloody architectures and drivers
which make use of random crap from asm/serial.h and friends.

I feel very much like I'm working on serial all by myself, especially
when asking arch people to do things results in silence.

So shrug - I've put in the ground work. ARM's up to date in so much
as it doesn't use asm/serial.h at all anymore. The other architectures
now need to follow suit.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 Serial core