]> 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>
Tue, 30 May 2023 11:57:55 +0000 (12:57 +0100)
commitfb3c5714f5ce2ace7d81ca0315b1171fa5c5fdd4
treefcae0353f711fdd4605bf85bcd684c35e508f755
parent18fbf8cfbb9dcfde8504d23c309ed22bbf616cdf
serial: 8250_exar: derive nr_ports from PCI ID for Acces I/O cards

[ Upstream commit 8e4413aaf6a2e3a46e99a0718ca54c0cf8609cb2 ]

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>
Stable-dep-of: 95d698869b40 ("serial: 8250_exar: Add support for USR298x PCI Modems")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/tty/serial/8250/8250_exar.c