Messages in this thread | | | Date | Tue, 12 Jul 2005 12:08:25 +0100 | From | Russell King <> | Subject | Re: [patch 2.6.13-git] 8250 tweaks |
| |
On Tue, Jul 12, 2005 at 03:25:12AM -0700, david-b@pacbell.net wrote: > > Date: Tue, 12 Jul 2005 08:19:43 +0100 > > From: Russell King <rmk+lkml@arm.linux.org.uk> > > > > On Mon, Jul 11, 2005 at 07:22:04PM -0700, David Brownell wrote: > > > and stop > > > whining about certain non-errors (details in the patch comments). > > > > Please explain what the whining is (details were missing from the > > patch comments). > > The kernel "recently" started issuing the second and third messages > after initializing the serial port on for example an OSK board: > > ttyS0 at MMIO 0xfffb0000 (irq = 46) is a ST16654 > serial8250 serial8250.0: unable to register port at index 1 (IO0 MEM0 IRQ47): -28 > serial8250 serial8250.0: unable to register port at index 2 (IO0 MEM0 IRQ15): -28
Thanks, that's exactly what I wanted to know.
-28 is -ENOSPC which means that you've run out of available serial devices to register these others.
If you wish to have three ports in an plat_serial8250_port array, you'll need to ensure that CONFIG_SERIAL_8250_NR_UARTS is set to at least 3.
-- Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: 2.6 Serial core - 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/
| |