]> git.itanic.dy.fi Git - linux-stable/commit
serial: 8250_exar: derive nr_ports from PCI ID for Acces I/O cards
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 27 Jan 2022 18:06:08 +0000 (20:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 31 Jan 2022 13:30:25 +0000 (14:30 +0100)
commit8e4413aaf6a2e3a46e99a0718ca54c0cf8609cb2
tree22d3458ac46e6009f526255c826f649826b9c64c
parentf31afa6151ae6b2cc6bc55e6383db85dbfc5ad2d
serial: 8250_exar: derive nr_ports from PCI ID for Acces I/O cards

In the similar way how it's done in 8250_pericom, derive the number of
the UART ports from PCI ID for Acces I/O cards.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220127180608.71509-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_exar.c