]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
serial: 8250_exar: Add support for USR298x PCI Modems
authorAndrew Davis <afd@ti.com>
Thu, 20 Apr 2023 16:02:09 +0000 (11:02 -0500)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 9 Aug 2023 09:38:06 +0000 (11:38 +0200)
commit644216707b510968c92fbd370f746508bc817688
tree487d3ec41d5dc6d016b9cf2494a3d178d6aa7144
parent7729978bcc0ec18d3ebaab8e417a4a31b80eab02
serial: 8250_exar: Add support for USR298x PCI Modems

BugLink: https://bugs.launchpad.net/bugs/2028808
commit 95d698869b404772cc8b72560df71548491c10bc upstream.

Possibly the last PCI controller-based (i.e. not a soft/winmodem)
dial-up modem one can still buy.

Looks to have a stock XR17C154 PCI UART chip for communication, but for
some reason when provisioning the PCI IDs they swapped the vendor and
subvendor IDs. Otherwise this card would have worked out of the box.

Searching online, some folks seem to not have this issue and others do,
so it is possible only some batches of cards have this error.

Create a new macro to handle the switched IDs and add support here.

Signed-off-by: Andrew Davis <afd@ti.com>
Cc: stable <stable@kernel.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20230420160209.28221-1-afd@ti.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/tty/serial/8250/8250_exar.c