From: "Luís Vitório Cargnini" <vitorio@digitel.com.br>
To: Geert Uytterhoeven <geert@linux-m68k.org>,
linuxppc-embedded <linuxppc-embedded@ozlabs.org>
Subject: Re: Making a serial multiplexer (new driver)
Date: Tue, 04 Jan 2005 11:07:28 +0000 [thread overview]
Message-ID: <1104836848.5622.8.camel@vitorio> (raw)
In-Reply-To: <Pine.GSO.4.61.0501031717080.27452@waterleaf.sonytel.be>
[-- Attachment #1: Type: text/plain, Size: 1448 bytes --]
it can't be done in user space
why?
Because the multiplexer has an proprietary pŕotocol 8-(
so i'll encapsulate the communication of 3 channels to communicate with
physical device and my user-level applications like pppd don't need to
know the mux protocol, this will be transparent for the user
applications.
On Mon, 2005-01-03 at 17:17 +0100, Geert Uytterhoeven wrote:
> 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@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
--
Luís Vitório Cargnini <vitorio@digitel.com.br>
Digitel S/A
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-01-04 13:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-03 13:20 Making a serial multiplexer (new driver) Luís Vitório Cargnini
2005-01-03 16:17 ` Geert Uytterhoeven
2005-01-04 11:07 ` Luís Vitório Cargnini [this message]
2005-01-04 8:00 ` (OT?) " David Jander
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1104836848.5622.8.camel@vitorio \
--to=vitorio@digitel.com.br \
--cc=geert@linux-m68k.org \
--cc=linuxppc-embedded@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).