[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdZXZur4QgkDrCbo1zyyEod1qoCb_2QXg_Syai2XAMMUrg@mail.gmail.com>
Date: Mon, 13 Aug 2012 15:33:24 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Alan Cox <alan@...rguk.ukuu.org.uk>,
Greg KH <gregkh@...uxfoundation.org>
Cc: Arun MURTHY <arun.murthy@...ricsson.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"linux-doc@...r.kernel.org" <linux-doc@...r.kernel.org>,
Sjur BRENDELAND <sjur.brandeland@...ricsson.com>
Subject: Re: [PATCHv2 1/4] modem_shm: Add Modem Access Framework
On Thu, Aug 9, 2012 at 1:38 PM, Alan Cox <alan@...rguk.ukuu.org.uk> wrote:
>> Maybe tty can do this, but want to have all modem related separately.
>> There are many such hardware and many drivers coming up in near future.
>
> tty can't do all this. We have similar things with stuff like CAIF. Modem
> has gone from pretending to be a serial port (tty) to appearing as a
> smart multi-function controller.
I second this, I plead guilty to suggesting to use "modem_shm"
as a layer below because things like CAIF and Phonet are just
growing and growing.
Sure, many of them can emulate AT commands, but that is
not their native tongue, and increasingly any AT command parser
is constrained to userspace which in turn constructs the actually
intended IPC command sequency for doing ATDT555784629568.
These modems are not talking anything resembling a line
discipline, they have their own binary protocol and above are
protocols like CAIF and Phonet talking to the modem, including
IPC to processes running on the other sides, with states.
Sjur is currently working on a future platform where we'll attempt
to bring things closer to existing Linux frameworks using virtio
rings and rpmesg also on the modem side, but the modems Arun
are working on are already deployed with this type of firmware
talking some other IPC lingo.
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists