Skip to contentSkip to conversation

/dev/ttyS1 vs /dev/ttyS01 ?

DISCUSSION Steven Scholz 1 participant 1 message Aug 28, 2003

lore
Share & tools
lore
#0 lore raw

Hi there,

I know this isn't exactly a PPC related question but maybe someone could give me a hint anyway:

What's the difference between the /dev/ttySx and the /dev/ttyS0x devices?

The Kernel first reports

ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A

and calls them later

ttyS0 at 0x03f8 (irq = 4) is a 16550A
ttyS1 at 0x02f8 (irq = 3) is a 16550A

Is that realy just the way it's printed using "%02d" by the kernel or is there a deeper meaning behind that?

Thanks a million and sorry for the noise.

Steven

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/