lkml.org 
[lkml]   [2005]   [Aug]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: uart_port structure in serial8250_port[i] doesn't have the port_type values
From
Date
On Mon, 2005-08-15 at 17:41 +0100, Russell King wrote:
> 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.
>
Thanks a bunch. Will try and let you know.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-08-15 18:49    [W:0.031 / U:18.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site