Re: [PATCH] RFE: add io= option to 8250 serial console

From: Russell King
Date: Wed Sep 06 2006 - 18:37:50 EST


On Wed, Sep 06, 2006 at 05:22:37PM -0400, Josef Whiter wrote:
> This patch is against a recent git clone of Linus's tree. This patch adds
> the ability to set the iobase for the serial port being used when you
> specify a serial device for the console on bootup, ie
>
> console=ttyS0,io=0x3f8

Have you looked at 8250_early.c already in the kernel?

console= [KNL] Output console device and options.

uart,io,<addr>[,options]
uart,mmio,<addr>[,options]
Start an early, polled-mode console on the 8250/16550
UART at the specified I/O port or MMIO address,
switching to the matching ttyS device later. The
options are the same as for ttyS, above.

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