Re: [PATCH] serial: do not add port that is not initialized

Russell King
2007-07-11T07:18:56Z

On Tue, Jul 10, 2007 at 05:03:35PM -0700, Yinghai Lu wrote:
> [PATCH] serial: do not add port that is not initialized
>
> if the port is not initialized with correct iobase, and membase, we don't
> need to add that port.
> for x86, when pnpacpi is enabled, we will not get extra ttyS1/ttyS2/ttyS3 in
> /sys/devices/platform/serial8250/tty
>
> Sign-off-by: Yinghai Lu <yinghai.lu@sun.com>

What if someone wants to run setserial on /dev/ttyS1 to set it's base
address, irq and other parameters? People still do this.