public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ruud Linders <rkmp@xs4all.nl>
To: "Paul Rolland" <rol@as2917.net>, linux-kernel@vger.kernel.org
Subject: Re: Serial port numbering (ttyS..) wrong for 2.5.61+
Date: Mon, 02 Jun 2003 18:21:15 +0200	[thread overview]
Message-ID: <3EDB797B.1050206@xs4all.nl> (raw)


 >>Hello,
 >
 >> Since I tried the 2.5 kernel versions somewhere in the 2.5.6x range, I
 >> see rather odd port naming for the extra 4 serial ports on a PCI-card.
 >Which driver are you using ?

See attached CONFIG_SERIAL* from my config, this is the 'standard'
serial port driver.

 >
 >> The first two are numered as ttyS14, ttyS15 while the last two are
 >> ttyS2 and ttyS3 !
 >> I tried to find where these numbers are coming from but
 >> couldn't really
 >> find an obvious place in the various drivers/char/* or
 >> drivers/serial/*
 >> files.
 >
 >Numbering seems to be coming out of
 >drivers/serial/core.c : uart_find_match_or_unused
 >which is responsible for finding an unused state for the port.
 >
 >However, the code there seems to be clean and I guess we should look
 >where the state are initialized.
 >
 >Paul


==============================================================

# CONFIG_SERIAL_NONSTANDARD is not set

#
# Serial drivers
#
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_8250_EXTENDED=y
CONFIG_SERIAL_8250_MANY_PORTS=y
CONFIG_SERIAL_8250_SHARE_IRQ=y
# CONFIG_SERIAL_8250_DETECT_IRQ is not set
CONFIG_SERIAL_8250_MULTIPORT=y
# CONFIG_SERIAL_8250_RSA is not set

#
# Non-8250 serial port support
#
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y




             reply	other threads:[~2003-06-02 16:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-02 16:21 Ruud Linders [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-06-01 11:14 Serial port numbering (ttyS..) wrong for 2.5.61+ Ruud Linders
2003-06-01 12:48 ` Paul Rolland
2003-06-02 17:51   ` Russell King
2003-06-02 18:43     ` Paul Rolland
2003-06-03 16:58       ` Ruud Linders

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=3EDB797B.1050206@xs4all.nl \
    --to=rkmp@xs4all.nl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rol@as2917.net \
    /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