Making a serial multiplexer (new driver)

Geert Uytterhoeven geert at linux-m68k.org
Tue Jan 4 03:17:36 EST 2005


On Mon, 3 Jan 2005, [ISO-8859-1] Luís Vitório Cargnini wrote:
> Hi i need to write a driver that must multiplex an serial channel my
> driver will have  3 interfaces and i must communicate with another
> interface  (midleware) like /dev/ttyS2 for example, how could i write a
> driver that will communicate with my existing uart ???
> 
> i have a component that could be multiplexed in 3 logical channels throw
> my single physical channel that are accessed with a normal serial
> interface using uart, how could this be possible ?
> this is necessary to be transparent to software user level.

Do it in userspace using fifos?

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds


More information about the Linuxppc-embedded mailing list