>
>  t...@fuckup:~/work$ ls -al /dev/ttyS*
>  crw-rw---- 1 root dialout 4, 64 2009-07-12 14:46 /dev/ttyS0
>  crw-rw---- 1 root dialout 4, 65 2009-07-12 14:46 /dev/ttyS1
>  crw-rw---- 1 root dialout 4, 66 2009-07-12 14:46 /dev/ttyS2
>  crw-rw---- 1 root dialout 4, 67 2009-07-12 14:46 /dev/ttyS3
>
as you can see the minor number of /dev/ttyS1 is 65.
if I remember correctly, each driver has to register its device node
with major, minor number.
In 8250.c, the 8250_init will assign each 8250 device  with 8250
driver which minor number is 64.
if I have 2 8250 serial devices, it seems impossible I can driver my
second 8250 serial device through /dev/ttyS1, since driver is
registered for minor 64 but ttyS1 is minor 65.
appreciate your help,
vichy

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to