Re: [PATCH] serial: 8250: add option to disable registration of legacy ISA ports

2021-02-18 Thread Maarten Brock
On 2021-01-31 14:18, Måns Rullgård wrote: What userspace visable change will be caused by this? There won't be /dev/ttyS devices for ports that don't exist. Oh yes, please! That would mean I can create ttyS2 and upward while keeping ttyPS0 and ttyPS1 (which invaded the serial alias

Re: [PATCH] serial: 8250: add option to disable registration of legacy ISA ports

2021-01-31 Thread Greg Kroah-Hartman
On Sun, Jan 31, 2021 at 09:25:33PM +0200, Andy Shevchenko wrote: > On Thursday, January 28, 2021, Mans Rullgard wrote: > > > On systems that do not have the traditional PC ISA serial ports, the > > 8250 driver still creates non-functional device nodes. This change > > makes only ports that

Re: [PATCH] serial: 8250: add option to disable registration of legacy ISA ports

2021-01-31 Thread Måns Rullgård
Andy Shevchenko writes: > On Thursday, January 28, 2021, Mans Rullgard wrote: > >> On systems that do not have the traditional PC ISA serial ports, the >> 8250 driver still creates non-functional device nodes. This change >> makes only ports that actually exist (PCI, DT, ...) get device nodes.

Re: [PATCH] serial: 8250: add option to disable registration of legacy ISA ports

2021-01-31 Thread Greg Kroah-Hartman
On Sun, Jan 31, 2021 at 03:47:42PM +, Måns Rullgård wrote: > Greg Kroah-Hartman writes: > > > On Sun, Jan 31, 2021 at 01:18:47PM +, Måns Rullgård wrote: > >> Greg Kroah-Hartman writes: > >> > >> > On Thu, Jan 28, 2021 at 05:22:44PM +, Mans Rullgard wrote: > >> >> On systems that do

Re: [PATCH] serial: 8250: add option to disable registration of legacy ISA ports

2021-01-31 Thread Måns Rullgård
Greg Kroah-Hartman writes: > On Sun, Jan 31, 2021 at 01:18:47PM +, Måns Rullgård wrote: >> Greg Kroah-Hartman writes: >> >> > On Thu, Jan 28, 2021 at 05:22:44PM +, Mans Rullgard wrote: >> >> On systems that do not have the traditional PC ISA serial ports, the >> >> 8250 driver still

Re: [PATCH] serial: 8250: add option to disable registration of legacy ISA ports

2021-01-31 Thread Greg Kroah-Hartman
On Sun, Jan 31, 2021 at 01:18:47PM +, Måns Rullgård wrote: > Greg Kroah-Hartman writes: > > > On Thu, Jan 28, 2021 at 05:22:44PM +, Mans Rullgard wrote: > >> On systems that do not have the traditional PC ISA serial ports, the > >> 8250 driver still creates non-functional device nodes.

Re: [PATCH] serial: 8250: add option to disable registration of legacy ISA ports

2021-01-31 Thread Måns Rullgård
Greg Kroah-Hartman writes: > On Thu, Jan 28, 2021 at 05:22:44PM +, Mans Rullgard wrote: >> On systems that do not have the traditional PC ISA serial ports, the >> 8250 driver still creates non-functional device nodes. This change >> makes only ports that actually exist (PCI, DT, ...) get

Re: [PATCH] serial: 8250: add option to disable registration of legacy ISA ports

2021-01-31 Thread Greg Kroah-Hartman
On Thu, Jan 28, 2021 at 05:22:44PM +, Mans Rullgard wrote: > On systems that do not have the traditional PC ISA serial ports, the > 8250 driver still creates non-functional device nodes. This change > makes only ports that actually exist (PCI, DT, ...) get device nodes. > > Signed-off-by:

[PATCH] serial: 8250: add option to disable registration of legacy ISA ports

2021-01-28 Thread Mans Rullgard
On systems that do not have the traditional PC ISA serial ports, the 8250 driver still creates non-functional device nodes. This change makes only ports that actually exist (PCI, DT, ...) get device nodes. Signed-off-by: Mans Rullgard --- drivers/tty/serial/8250/8250_core.c | 26