[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <201305081831.48566.arnd@arndb.de>
Date: Wed, 8 May 2013 18:31:48 +0200
From: Arnd Bergmann <arnd@...db.de>
To: Greg KH <gregkh@...uxfoundation.org>
Cc: "Jean-Christophe PLAGNIOL-VILLARD" <plagnioj@...osoft.com>,
Srinivas KANDAGATLA <srinivas.kandagatla@...com>,
Viresh Kumar <viresh.kumar@...aro.org>,
Will Deacon <will.deacon@....com>, jslaby@...e.cz,
Russell King <linux@....linux.org.uk>,
Samuel Ortiz <sameo@...ux.intel.com>,
Nicolas Pitre <nico@...aro.org>, linux-doc@...r.kernel.org,
Stephen Gallimore <stephen.gallimore@...com>,
linux-serial@...r.kernel.org, Jason Cooper <jason@...edaemon.net>,
devicetree-discuss@...ts.ozlabs.org,
Rob Herring <rob.herring@...xeda.com>,
Stuart Menefy <stuart.menefy@...com>,
Stephen Warren <swarren@...dia.com>,
Dong Aisheng <dong.aisheng@...aro.org>,
linux-arm-kernel@...ts.infradead.org,
Mark Brown <broonie@...nsource.wolfsonmicro.com>,
linux-kernel@...r.kernel.org
Subject: Re: [RFC 1/8] serial:st-asc: Add ST ASC driver.
On Wednesday 08 May 2013, Greg KH wrote:
> > just mention there is not hardware reason to not use the generic ttySx
> > in place of ttyAS as we have only one IP that handle serial on this
> > family of SoC
> >
> > personally I'll switch to ttySx
>
> Great, then you can use the same major/minor range as well, so there's
> no more objection from me about this :)
Does that work these days when you have kernel with multiple built-in
uart drivers?
I think it would be good if all uarts were using the same name space
and major/minor numbers, but I think the mess we currently have is
the result of the tty_register_driver() interface reserving the
device number range at driver load time, independent of the presence
of devices. I would assume that normal distro kernels always ship
with an 8250 driver built-in to allow using that as the console,
and if I read the code correctly, that currently prevents another
uart driver from registering the same major/minor numbers.
Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists