Hi Michal, On Fri, Oct 5, 2018 at 6:18 PM Michal Simek <michal.simek@xxxxxxxxxx> wrote: > > On 5.10.2018 14:30, shubhrajyoti.datta@xxxxxxxxx wrote: > > From: Shubhrajyoti Datta <shubhrajyoti.datta@xxxxxxxxxx> > > > > This patch is removing ULITE_NR_PORTS macro which limits number of > > ports which can be used. Every instance is registering own struct > > uart_driver with minor number which corresponds to alias ID (or 0 now). > > and with 1 uart port. The same alias ID is saved to > > tty_driver->name_base which is key field for creating ttyULX name. > > > > Because name_base and minor number are setup already there is no need to > > setup any port->line number because 0 is the right value. > > > > Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xxxxxxxxxx> > > Signed-off-by: Michal Simek <michal.simek@xxxxxxxxxx> > > --- > > drivers/tty/serial/uartlite.c | 262 ++++++++++++++++++++++++++++++------------ > > 1 file changed, 187 insertions(+), 75 deletions(-) > > > > diff --git a/drivers/tty/serial/uartlite.c b/drivers/tty/serial/uartlite.c > > index 20fe11f..5228453 100644 > > --- a/drivers/tty/serial/uartlite.c > > +++ b/drivers/tty/serial/uartlite.c > > @@ -1,9 +1,12 @@ > > -// SPDX-License-Identifier: GPL-2.0 > > /* > > * uartlite.c: Serial driver for Xilinx uartlite serial controller > > * > > * Copyright (C) 2006 Peter Korsgaard <jacmet@xxxxxxxxxx> > > * Copyright (C) 2007 Secret Lab Technologies Ltd. > > + * > > + * This file is licensed under the terms of the GNU General Public License > > + * version 2. This program is licensed "as is" without any warranty of any > > + * kind, whether express or implied. > > */ > > This is wrong - we didn't converted internal xilinx tree to spdx yet but > mainline is doing this properly. > Goofed up while rebasing will fix in next version.