From: Russell King <rmk+lkml@arm.linux.org.uk>
To: "V. Ananda Krishnan" <mansarov@us.ibm.com>
Cc: linux-kernel@vger.kernel.org, gregkh@suse.de
Subject: Re: uart_port structure in serial8250_port[i] doesn't have the port_type values
Date: Mon, 15 Aug 2005 17:41:26 +0100 [thread overview]
Message-ID: <20050815174126.D30479@flint.arm.linux.org.uk> (raw)
In-Reply-To: <1124123620.3694.53.camel@siliver.austin.ibm.com>; from mansarov@us.ibm.com on Mon, Aug 15, 2005 at 11:33:39AM -0500
On Mon, Aug 15, 2005 at 11:33:39AM -0500, V. Ananda Krishnan wrote:
> Thanks for your guidance. Here is the cat of /proc/tty/driver/serial:
> serinfo:1.0 driver revision:
> 0: uart:16550A port:000003F8 irq:4 tx:11963 rx:0 RTS|DTR
> 1: uart:16550A port:000002F8 irq:3 tx:11 rx:0
> 2: uart:16550A port:00000898 irq:14 tx:0 rx:0
> 3: uart:16550A port:00000890 irq:15 tx:0 rx:0
>
> On Mon, 2005-08-15 at 17:11 +0100, Russell King wrote:
> > Without this, I can only conclude from your above description that
> > all available 8250 ports are already associated with some hardware,
> > and therefore the 8250 driver is working as designed.
and this is indeed the problem. The 8250 driver already has 4 hardware
ports already registered.
Obviously, if you have 5 serial ports in the machine and you ask the
driver to only allow 4 ports, it's sensible that you'd get an ENOSPC
error when you try to register the 5th port.
So, if you have 5 ports in the machine, why not try setting
CONFIG_SERIAL_8250_NR_UARTS to at least 5? Or if you have 6, set it
to at least 6. etc.
Sorry, but I feel like I'm explaining The Damned Obvious(tm) here,
especially as I've hinted towards CONFIG_SERIAL_8250_NR_UARTS twice
in this thread already.
--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 Serial core
next prev parent reply other threads:[~2005-08-15 16:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-15 14:10 V. Ananda Krishnan
2005-08-15 14:52 ` Russell King
2005-08-15 15:56 ` V. Ananda Krishnan
2005-08-15 16:11 ` Russell King
2005-08-15 16:33 ` V. Ananda Krishnan
2005-08-15 16:41 ` Russell King [this message]
2005-08-15 16:46 ` V. Ananda Krishnan
2005-08-15 17:14 ` V. Ananda Krishnan
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=20050815174126.D30479@flint.arm.linux.org.uk \
--to=rmk+lkml@arm.linux.org.uk \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mansarov@us.ibm.com \
/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
Powered by JetHome