* remapping advice sought
@ 2009-09-15 21:35 Dick Hollenbeck
2009-09-16 18:51 ` Dick Hollenbeck
0 siblings, 1 reply; 2+ messages in thread
From: Dick Hollenbeck @ 2009-09-15 21:35 UTC (permalink / raw)
To: linux-serial
I made an ARM board with 6 serial ports. One port comes out on
/dev/ttyAM0 and 5 others come out on /dev/ttyS0 through /dev/ttyS4.
The ttyAM0 is implemented by an ARM CPU specific driver, while the ttyS*
ports are implemented in an FPGA and use the 8250.c driver in a
multi-port fashion with a shared IRQ.
Our userspace code likes to think of serial ports being at /dev/ttyS0
through /dev/ttyS5 but this naming convention has not yet been achieved.
(1) Are there any good reason why not to do this:
(A) change my copy of the kernel code so that 8250.c exposes its serial
ports at some other name than "ttyS".
(B) use symlinks in /dev/ to map ttyS0 through ttyS5 onto ttyAM0
followed by the 8250 FPGA ports.
(2) How hard and fast is the relationship between the name used in the
driver 8250.c, to the name in the /dev/ directory? Can they be different
without changing 8250.c source?
(3) Is there a better way?
Thanks,
Dick
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-09-16 18:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-15 21:35 remapping advice sought Dick Hollenbeck
2009-09-16 18:51 ` Dick Hollenbeck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).