Re: [RFC][PATCH] Way for platforms to alter built-in serial ports

From: Russell King
Date: Wed Nov 03 2004 - 02:45:29 EST


On Tue, Nov 02, 2004 at 09:39:25AM -0700, Bjorn Helgaas wrote:
> On Monday 01 November 2004 10:15 am, David Woodhouse wrote:
> > The problem is that 'console=ttySx' doesn't actually do anything unless
> > port numer 'x' is already registered and working. We should fix that --
> > we ought to be able to use 'console=ttySx' on the command line and have
> > the console get registered with the core printk code later, when some
> > 8250 sub-driver (8250_platform, 8250_pci, etc.) actually registers the
> > port which becomes number 'x'.
>
> See serial8250_late_console_init(); does this do what you want?

This call can now be removed - for any serial device, we keep registering
the console each time a new port is added until it successfully registers.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/
2.6 Serial core
-
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/