[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170425204315.36ac56f2@lxorguk.ukuu.org.uk>
Date: Tue, 25 Apr 2017 20:43:15 +0100
From: Alan Cox <gnomes@...rguk.ukuu.org.uk>
To: Sjoerd Simons <sjoerd.simons@...labora.co.uk>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-serial@...r.kernel.org,
Geert Uytterhoeven <geert@...ux-m68k.org>,
linux-kernel@...r.kernel.org, Jiri Slaby <jslaby@...e.com>
Subject: Re: [PATCH] RFC: serial: core: Dynamic minor support
> Furthermore some other drivers rely upon the usage of a dynamic major
> e.g. the tegra serial port driver. However as there is only a block of
> 20 major numbers reserved for dynamic assignment that isn't going to
> scale either for multiplatform kernels (I can already easily build 18
> different serial drivers on an arm64 kernel today).
The patch makes sense to me - we really don't need the static minors any
more.
> This does not try to address device naming by making all serial ports be
> ttyS<value> as that would first need a better way of deterministically
> specifying serial console devices. While it would be an option to move
> to consistent serial device naming while keeping the current console
> names, having both not aligned would probably confuse everyone
> massively.
The existing ttyS being 8250 is ABI and there are lots of things that
know far too much about what each type of ttyFOO is to ever fix that.
What could certainly be done is to do what some other classes of device
do and start also registering
/dev/ttyport/bus-information/0 /1 /2 .. etc
in parallel.
Alan
Powered by blists - more mailing lists