tty: 8250: Add support for additional Brainboxes UC cards
authorCameron Williams <cang1@live.co.uk>
Fri, 20 Oct 2023 16:03:09 +0000 (17:03 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Nov 2023 10:56:23 +0000 (11:56 +0100)
commit c563db486db7d245c0e2f319443417ae8e692f7f upstream.

Add device IDs for some more Brainboxes UC cards, namely
UC-235/UC-246, UC-253/UC-734, UC-302, UC-313, UC-346, UC-357,
UC-607 and UC-836.

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

index e025996e192aa94e6314b86a3baf7180bc399b4f..0959a2f16383eecfeea8367ebf4c7b8b12ab54b6 100644 (file)
@@ -4940,6 +4940,17 @@ static const struct pci_device_id serial_pci_tbl[] = {
                PCI_ANY_ID, PCI_ANY_ID,
                0, 0,
                pbn_b2_1_115200 },
+       {       PCI_VENDOR_ID_INTASHIELD, 0x0AA2,
+               PCI_ANY_ID, PCI_ANY_ID,
+               0, 0,
+               pbn_b2_1_115200 },
+       /*
+        * Brainboxes UC-253/UC-734
+        */
+       {       PCI_VENDOR_ID_INTASHIELD, 0x0CA1,
+               PCI_ANY_ID, PCI_ANY_ID,
+               0, 0,
+               pbn_b2_2_115200 },
        /*
         * Brainboxes UC-260/271/701/756
         */
@@ -4972,6 +4983,14 @@ static const struct pci_device_id serial_pci_tbl[] = {
                PCI_ANY_ID, PCI_ANY_ID,
                0, 0,
                pbn_b2_2_115200 },
+       {       PCI_VENDOR_ID_INTASHIELD, 0x08E2,
+               PCI_ANY_ID, PCI_ANY_ID,
+               0, 0,
+               pbn_b2_2_115200 },
+       {       PCI_VENDOR_ID_INTASHIELD, 0x08E3,
+               PCI_ANY_ID, PCI_ANY_ID,
+               0, 0,
+               pbn_b2_2_115200 },
        /*
         * Brainboxes UC-310
         */
@@ -4982,6 +5001,14 @@ static const struct pci_device_id serial_pci_tbl[] = {
        /*
         * Brainboxes UC-313
         */
+       {       PCI_VENDOR_ID_INTASHIELD, 0x08A1,
+               PCI_ANY_ID, PCI_ANY_ID,
+               0, 0,
+               pbn_b2_2_115200 },
+       {       PCI_VENDOR_ID_INTASHIELD, 0x08A2,
+               PCI_ANY_ID, PCI_ANY_ID,
+               0, 0,
+               pbn_b2_2_115200 },
        {       PCI_VENDOR_ID_INTASHIELD, 0x08A3,
                PCI_ANY_ID, PCI_ANY_ID,
                0, 0,
@@ -4996,6 +5023,10 @@ static const struct pci_device_id serial_pci_tbl[] = {
        /*
         * Brainboxes UC-346
         */
+       {       PCI_VENDOR_ID_INTASHIELD, 0x0B01,
+               PCI_ANY_ID, PCI_ANY_ID,
+               0, 0,
+               pbn_b2_4_115200 },
        {       PCI_VENDOR_ID_INTASHIELD, 0x0B02,
                PCI_ANY_ID, PCI_ANY_ID,
                0, 0,
@@ -5007,6 +5038,10 @@ static const struct pci_device_id serial_pci_tbl[] = {
                PCI_ANY_ID, PCI_ANY_ID,
                0, 0,
                pbn_b2_2_115200 },
+       {       PCI_VENDOR_ID_INTASHIELD, 0x0A82,
+               PCI_ANY_ID, PCI_ANY_ID,
+               0, 0,
+               pbn_b2_2_115200 },
        {       PCI_VENDOR_ID_INTASHIELD, 0x0A83,
                PCI_ANY_ID, PCI_ANY_ID,
                0, 0,
@@ -5025,6 +5060,28 @@ static const struct pci_device_id serial_pci_tbl[] = {
                PCI_ANY_ID, PCI_ANY_ID,
                0, 0,
                pbn_b2_4_115200 },
+       /*
+        * Brainboxes UC-607
+        */
+       {       PCI_VENDOR_ID_INTASHIELD, 0x09A1,
+               PCI_ANY_ID, PCI_ANY_ID,
+               0, 0,
+               pbn_b2_2_115200 },
+       {       PCI_VENDOR_ID_INTASHIELD, 0x09A2,
+               PCI_ANY_ID, PCI_ANY_ID,
+               0, 0,
+               pbn_b2_2_115200 },
+       {       PCI_VENDOR_ID_INTASHIELD, 0x09A3,
+               PCI_ANY_ID, PCI_ANY_ID,
+               0, 0,
+               pbn_b2_2_115200 },
+       /*
+        * Brainboxes UC-836
+        */
+       {       PCI_VENDOR_ID_INTASHIELD, 0x0D41,
+               PCI_ANY_ID, PCI_ANY_ID,
+               0, 0,
+               pbn_b2_4_115200 },
        /*
         * Brainboxes PX-101
         */