Messages in this thread | | | From | "Jason Dravet" <> | Subject | Re: wrong number of serial port detected | Date | Sat, 07 Jan 2006 19:23:46 -0600 |
| |
>Make the number of UARTs registered configurable. >Also add a nr_uarts module option to the 8250 code >to override this, up to a maximum of CONFIG_SERIAL_8250_NR_UARTS > >This should appease people who complain about a proliferation >of /dev/ttyS & /sysfs nodes whilst at the same time allowing >a single kernel image to support the rarer occasions of >lots of devices. > Not to keep complaining, but I now have the following issue. I running Fedora Cores 2.6.15-1.1826 kernel. When I run dmesg I now see this:
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing enabled serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A 00:06: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
before 2.6.15 I saw Serial: 8250/16550 driver $Revision: 1.90 $ 32 ports, IRQ sharing enabled
The serial driver now correctly reports that I have two serial ports instead of 32. So shouldn't the patch register the minimum of CONFIG_SERIAL_8250_NR_UARTS and the number of serial ports detected by the serial driver?
Thanks, Jason Dravet
- 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/
| |