Re: Christmas list for the kernel

Jon Smirl
2005-11-23T15:19:21Z

On 11/23/05, Russell King <rmk+lkml@arm.linux.org.uk> wrote:
> On Wed, Nov 23, 2005 at 09:43:58AM -0500, Jon Smirl wrote:
> > My system has:
> > 2 serial
> >
> > In /sys/bus/platform/devices I see this:
> > serial8250
> > shouldn't there be entries for all of the legacy devices?
> >
> > In /dev
> > ttyS0
> > ttyS1
> > ttyS2
> > ttyS3
>
> You're basically confused about serial ports. The kernel serial devices
> whether or not hardware is found, to allow programs such as setserial to
> function.
>
> If you disagree with that, there'll be an equal number of people who
> have serial cards that need setserial who will in turn disagree with
> you.

This is confusing...

Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A

/sys/bus/platform/devices/serial8250
[jonsmirl@jonsmirl serial8250]$ ls
bus driver power tty:ttyS0 tty:ttyS1 tty:ttyS2 tty:ttyS3 uevent
[jonsmirl@jonsmirl serial8250]$

--
Jon Smirl
jonsmirl@gmail.com