Hi,
this small and IMHO self explaining patch changes /dev/ttySxx
registering order to make it more convinent.
Here is an example (it is my home computer). Serial driver output
without this patch:
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
ttyS04 at port 0xf600 (irq = 9) is a 16550A
ttyS02 at port 0x03e8 (irq = 5) is a 16550A
Looks strange, ttyS00, ttyS01 then ttyS04 and then ttyS02
(ttyS04 - ISA PnP modem, ttyS02 - PCI serial card).
And serial driver output with this patch applied:
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
ttyS02 at port 0xf600 (irq = 9) is a 16550A
ttyS03 at port 0x03e8 (irq = 5) is a 16550A
Second one is more convinent isn't it ?
Best wishes,
Andrey
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu Jun 15 2000 - 21:00:28 EST