Commit 9b09a75a authored by Matthew Howell's avatar Matthew Howell Committed by sanglipeng
Browse files

serial: exar: Add support for Sealevel 7xxxC serial cards

stable inclusion
from stable-v5.10.181
commit 1ffa0b8ba928dbbf3cd5adfbc1c189127ec4806b
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8GJZJ

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



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

[ Upstream commit 14ee78d5 ]

Add support for Sealevel 7xxxC serial cards.

This patch:
* Adds IDs to recognize 7xxxC cards from Sealevel Systems.
* Updates exar_pci_probe() to set nr_ports to last two bytes of primary
  dev ID for these cards.

Signed-off-by: default avatarMatthew Howell <matthew.howell@sealevel.com>
Cc: stable <stable@kernel.org>
Link: https://lore.kernel.org/r/alpine.DEB.2.21.2301191440010.22558@tstest-VirtualBox


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Stable-dep-of: 95d69886 ("serial: 8250_exar: Add support for USR298x PCI Modems")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 12feede9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment