Commit 1bf7c17d authored by Cameron Williams's avatar Cameron Williams Committed by Zheng Zengkai
Browse files

tty: 8250: Fix up PX-803/PX-857

stable inclusion
from stable-v6.6.1
commit 9878818073222b0be5fc24262fa7f1711f2bb854
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8IKRU

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=9878818073222b0be5fc24262fa7f1711f2bb854



--------------------------------

commit ee61337b934c99c2611e0a945d592019b2e00c82 upstream.

The PX-803/PX-857 are variants of each other, add a note.
Additionally fix up the port counts for the card (2, not 1).

Fixes: ef5a03a2 ("tty: 8250: Add support for Brainboxes PX cards.")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarCameron Williams <cang1@live.co.uk>
Link: https://lore.kernel.org/r/DU0PR02MB789978C8ED872FB4B014E132C4DBA@DU0PR02MB7899.eurprd02.prod.outlook.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 300fec2c
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -5235,16 +5235,16 @@ static const struct pci_device_id serial_pci_tbl[] = {
		0, 0,
		pbn_oxsemi_4_15625000 },
	/*
	 * Brainboxes PX-803
	 * Brainboxes PX-803/PX-857
	 */
	{	PCI_VENDOR_ID_INTASHIELD, 0x4009,
		PCI_ANY_ID, PCI_ANY_ID,
		0, 0,
		pbn_b0_1_115200 },
		pbn_b0_2_115200 },
	{	PCI_VENDOR_ID_INTASHIELD, 0x401E,
		PCI_ANY_ID, PCI_ANY_ID,
		0, 0,
		pbn_oxsemi_1_15625000 },
		pbn_oxsemi_2_15625000 },
	/*
	 * Brainboxes PX-846
	 */