[2.6 patch] serial: support for InstaShield IS-400 four port RS-232 PCI card.

DORMANTno replies

From: Ignacio García Pérez <hidden>
Date: 2008-05-12 16:18:39
Also in: lkml

From: Ignacio García Pérez

Description:
Adds support for the InstaShield IS-400 four port RS-232 PCI card.

Signed-off-by: Ignacio García Pérez <redacted>

---

The patch is pretty simple. No code, little more than just the PCI vendor/product id.

Thorougly tested and working.

Applies to kernels 2.6.22, 2.6.23, 2.6.24 and 2.6.25.

---

diff -pruN linux-2.6.24.6/drivers/serial/8250_pci.c linux-2.6.24.6-modified/drivers/serial/8250_pci.c
--- linux-2.6.24.6/drivers/serial/8250_pci.c    2008-05-01 23:50:00.000000000 +0200
+++ linux-2.6.24.6-modified/drivers/serial/8250_pci.c    2008-05-05 21:03:27.000000000 +0200
@@ -2566,7 +2566,12 @@ static struct pci_device_id serial_pci_t
    {    PCI_VENDOR_ID_INTASHIELD, PCI_DEVICE_ID_INTASHIELD_IS200,
        PCI_ANY_ID, PCI_ANY_ID, 0, 0,    /* 135a.0811 */
        pbn_b2_2_115200 },
-
+    /*
+     * IntaShield IS-400
+     */
+    {    PCI_VENDOR_ID_INTASHIELD, PCI_DEVICE_ID_INTASHIELD_IS400,
+        PCI_ANY_ID, PCI_ANY_ID, 0, 0,    /* 135a.0dc0 */
+        pbn_b2_4_115200 },
    /*
     * Perle PCI-RAS cards
     */
diff -pruN linux-2.6.24.6/include/linux/pci_ids.h linux-2.6.24.6-modified/include/linux/pci_ids.h
--- linux-2.6.24.6/include/linux/pci_ids.h    2008-05-01 23:50:00.000000000 +0200
+++ linux-2.6.24.6-modified/include/linux/pci_ids.h    2008-05-05 21:03:27.000000000 +0200
@@ -1759,6 +1759,7 @@
#define PCI_VENDOR_ID_INTASHIELD    0x135a
#define PCI_DEVICE_ID_INTASHIELD_IS200    0x0d80
+#define PCI_DEVICE_ID_INTASHIELD_IS400    0x0dc0

#define PCI_VENDOR_ID_QUATECH        0x135C
#define PCI_DEVICE_ID_QUATECH_QSC100    0x0010

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help