]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
tty: serial: 8250: Add Brainboxes XC devices
authorCameron Williams <cang1@live.co.uk>
Mon, 10 Mar 2025 22:27:10 +0000 (22:27 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Apr 2025 08:06:37 +0000 (10:06 +0200)
commit 5c7e2896481a177bbda41d7850f05a9f5a8aee2b upstream.

These ExpressCard devices use the OxPCIE chip and can be used with
this driver.

Signed-off-by: Cameron Williams <cang1@live.co.uk>
Cc: stable <stable@kernel.org>
Link: https://lore.kernel.org/r/DB7PR02MB3802907A9360F27F6CD67AAFC4D62@DB7PR02MB3802.eurprd02.prod.outlook.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_pci.c

index d6c5aa0fa83c75de2d3eed702909130736dd5656..0b38fada414472e2f9e146cc5c30b0098b7f1320 100644 (file)
@@ -2576,6 +2576,22 @@ static struct pci_serial_quirk pci_serial_quirks[] = {
                .init           = pci_oxsemi_tornado_init,
                .setup          = pci_oxsemi_tornado_setup,
        },
+       {
+               .vendor         = PCI_VENDOR_ID_INTASHIELD,
+               .device         = 0x4026,
+               .subvendor      = PCI_ANY_ID,
+               .subdevice      = PCI_ANY_ID,
+               .init           = pci_oxsemi_tornado_init,
+               .setup          = pci_oxsemi_tornado_setup,
+       },
+       {
+               .vendor         = PCI_VENDOR_ID_INTASHIELD,
+               .device         = 0x4021,
+               .subvendor      = PCI_ANY_ID,
+               .subdevice      = PCI_ANY_ID,
+               .init           = pci_oxsemi_tornado_init,
+               .setup          = pci_oxsemi_tornado_setup,
+       },
        {
                .vendor         = PCI_VENDOR_ID_INTEL,
                .device         = 0x8811,
@@ -5469,6 +5485,20 @@ static const struct pci_device_id serial_pci_tbl[] = {
                PCI_ANY_ID, PCI_ANY_ID,
                0, 0,
                pbn_oxsemi_1_15625000 },
+       /*
+        * Brainboxes XC-235
+        */
+       {       PCI_VENDOR_ID_INTASHIELD, 0x4026,
+               PCI_ANY_ID, PCI_ANY_ID,
+               0, 0,
+               pbn_oxsemi_1_15625000 },
+       /*
+        * Brainboxes XC-475
+        */
+       {       PCI_VENDOR_ID_INTASHIELD, 0x4021,
+               PCI_ANY_ID, PCI_ANY_ID,
+               0, 0,
+               pbn_oxsemi_1_15625000 },
 
        /*
         * Perle PCI-RAS cards