Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030307Ab2HHNh4 (ORCPT ); Wed, 8 Aug 2012 09:37:56 -0400 Received: from mail-gh0-f174.google.com ([209.85.160.174]:59816 "EHLO mail-gh0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758393Ab2HHNhx (ORCPT ); Wed, 8 Aug 2012 09:37:53 -0400 Date: Wed, 8 Aug 2012 06:37:48 -0700 From: Greg KH To: Arun MURTHY Cc: "linux-kernel@vger.kernel.org" , "netdev@vger.kernel.org" , "linux-doc@vger.kernel.org" , Sjur BRENDELAND Subject: Re: [PATCHv2 1/4] modem_shm: Add Modem Access Framework Message-ID: <20120808133748.GA14459@kroah.com> References: <1344322471-3640-1-git-send-email-arun.murthy@stericsson.com> <1344322471-3640-2-git-send-email-arun.murthy@stericsson.com> <20120807183809.GC26990@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1636 Lines: 45 On Wed, Aug 08, 2012 at 05:36:05AM +0200, Arun MURTHY wrote: > > On Tue, Aug 07, 2012 at 12:24:28PM +0530, Arun Murthy wrote: > > > Adds Modem Access Framework, which allows for registering platform > > specific > > > modem access mechanisms. The framework also exposes APIs for client > > drivers > > > for getting and releasing access to modem, regardless of the > > underlying > > > platform specific access mechanism. > > > > The term "modems" here has a lot of legacy connotations. First of > > which > > is, userspace handles this today as tty devices, why aren't you doing > > the same here? Why does this have to be something "special"? > > > > The main focus over there the modem IPC. Over where? What "modem IPC"? You need to really explain what you are doing here, as I have no idea. And I have no idea why you still can't just use a tty device, why can't you? > In doing so, there are some functionality like waking the modem, or > releasing the modem etc. These will be used by the modem IPC drivers > and also few others like sim driver and security drivers. What's a "sim driver", and what type of "security drivers" are you referring to? > Since this is a shared call and hence has to be synchronized. Hence so a > small framework like is being done to monitor the modem access related only > operations. Again, why can't the tty layer do this for you? greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/