From mboxrd@z Thu Jan 1 00:00:00 1970 From: ben.dooks@codethink.co.uk (Ben Dooks) Date: Fri, 10 May 2013 16:45:15 +0200 Subject: [RFC 1/8] serial:st-asc: Add ST ASC driver. In-Reply-To: <20130508153459.GA17186@kroah.com> 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> Message-ID: <518D07FB.7010606@codethink.co.uk> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 08/05/13 17:34, Greg KH wrote: > 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. > > 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? This would be an issue on systems that either accept plug-in cards such as PCMCIA/CardBus/PCI or have additional off SoC IO spaces where 8250 compatible UARTS could live. -- Ben Dooks http://www.codethink.co.uk/ Senior Engineer Codethink - Providing Genius