From: Ruud Linders <rkmp@xs4all.nl>
To: Russell King <rmk+lkml@arm.linux.org.uk>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.x kernels and ttyS45 for 6 serial ports ?
Date: Mon, 05 Apr 2004 16:08:21 +0200 [thread overview]
Message-ID: <40716855.50900@xs4all.nl> (raw)
In-Reply-To: <20040405120452.B31038@flint.arm.linux.org.uk>
I realise that my 'patch' isn't the perfect solution.
But how much sense makes adding a 4-port card and getting
ttyS14/15/44/45 for these 4-ports ?
As the first 4 serial ports, on x86 at least, are more or less
on standard 3f8/2f8/3e8/2e8 IO-ports an argument could be made to
reserve ttyS0/1/2/3 for these.
Reserving ttyS0-S43 (with ttyS14-15 as spare) doesn't make sense
to me.
And what if my next mobo doesn't have serial ports anymore and I
plugin a PCI card, I would expect them to start at ttyS0.
Anyway, I just wanted to point out that
a)these are strange numbers from user point of view
b)over kernel versions my ports keep moving to different names
and I'm NOT plugging in different hardware.
I guess I'll just do "cd /dev;ln -nfs ttyS14 ttyS2" and be done
with it or use udev (good time as ever to give that a try) or
keep patching my kernel or ...
_
Ruud
Now my PCI ports are moving between kernel versions
Russell King wrote:
> On Mon, Apr 05, 2004 at 12:35:39PM +0200, Ruud Linders wrote:
>
>>Now checking this on 2.6.5 it got more confusing, I now have with
>>total of 6 serial ports a device number ttyS45 !?
>
>
> And what happens if you detect a PCI modem at IO address 0x2e8 after
> you've detected your PCI card and assigned it ttyS4?
>
> Don't you think that would complain that their modem should be assigned
> ttyS4 rather than their PCI multiport card getting it?
>
next prev parent reply other threads:[~2004-04-05 14:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-05 10:35 2.6.x kernels and ttyS45 for 6 serial ports ? Ruud Linders
2004-04-05 11:04 ` Russell King
2004-04-05 14:08 ` Ruud Linders [this message]
2004-04-05 14:21 ` Arjan van de Ven
-- strict thread matches above, loose matches on Subject: below --
2004-04-06 16:37 Bjorn Helgaas
2004-04-06 16:45 ` Bjorn Helgaas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=40716855.50900@xs4all.nl \
--to=rkmp@xs4all.nl \
--cc=linux-kernel@vger.kernel.org \
--cc=rmk+lkml@arm.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox