Re: [patch 2.6.13-git] 8250 tweaks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> >     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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux