[lkml]   [2005]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [patch 2.6.13-git] 8250 tweaks
> >     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.

The idea is _not_ to register them on boards that only have a
single RS232 connector. The fix was just having the 8250 code
understand that it should only register ports that are real.

> 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.

That is, there's no third way which (a) doesn't waste that memory,
and (b) doesn't produce annoying messages about non-error cases?

ISTR that having NR_UARTS bigger just produced different messages...

- Dave

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-07-12 13:37    [W:0.076 / U:5.592 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site