Date: Tue, 13 Jun 2000 17:28:24 +0400 (MSD)
From: Andrey Panin <pazke@server.ipt>
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).
The reason for this is that I wanted to keep the mapping
between the COM 1 -- 4 ports consistent with /dev/ttyS0 -- ttyS3, as in
previous systems.
Since the the ISA PnP modem is using a COM3 address, it got assigned
ttyS02.
- Ted
-
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:30 EST