Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757387Ab3EHQiz (ORCPT ); Wed, 8 May 2013 12:38:55 -0400 Received: from eu1sys200aog112.obsmtp.com ([207.126.144.133]:37085 "EHLO eu1sys200aog112.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755276Ab3EHQiw convert rfc822-to-8bit (ORCPT ); Wed, 8 May 2013 12:38:52 -0400 From: Stephen GALLIMORE To: Greg KH , Arnd Bergmann Cc: Srinivas KANDAGATLA , Stuart MENEFY , "linux-doc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-serial@vger.kernel.org" Date: Wed, 8 May 2013 18:10:48 +0200 Subject: RE: [RFC 1/8] serial:st-asc: Add ST ASC driver. Thread-Topic: [RFC 1/8] serial:st-asc: Add ST ASC driver. Thread-Index: Ac5MAZt6GB2onu7ySGeL3ypSBxqboQAAQQRQ Message-ID: References: <1368022187-1633-1-git-send-email-srinivas.kandagatla@st.com> <1368022248-2153-1-git-send-email-srinivas.kandagatla@st.com> <201305081634.43498.arnd@arndb.de> <20130508153459.GA17186@kroah.com> In-Reply-To: <20130508153459.GA17186@kroah.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1278 Lines: 24 >On Wed, May 08, 2013 at 04:34:43PM +0200, Arnd Bergmann wrote: > > > +#define ASC_MAJOR 204 > > > +#define ASC_MINOR_START 40 > > > > I don't know what the current policy is on allocating major/minor > > numbers, but I'm sure you cannot just reuse one that is already used. First, our apologies, this issue was raised internally and then got forgotten about, there's always something I guess. > >I agree, why are you trying to create a new tty device name? Can't you use the existing ttyS name and minor number as you will not have any other type of serial > >device on this system? That is an interesting question Greg; I believe it probably stems from historic ST SoCs that had two different types of serial devices, something that is no longer the case. We will review our approach to this again, although we are not sure we can use the existing ttyS major/minor (even if that is an acceptable thing to do) because of the (remote) possibility of someone using a standard PCIe attached serial card. Regards, -stephen -- 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/