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

From: Ignacio García Pérez
Date: Mon May 12 2008 - 12:18:52 EST


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 <iggarpe@xxxxxxx>

---

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

begin:vcard
fn;quoted-printable:Ignacio Garc=C3=ADa P=C3=A9rez
n;quoted-printable:Garc=C3=ADa P=C3=A9rez;Ignacio
org;quoted-printable:T2i, Ingenier=C3=ADa Integral en Tecnolog=C3=ADa y Telecomunicaciones
adr;quoted-printable;quoted-printable:;;C/. Pur=C3=ADsima 23, puerta 3;B=C3=A9tera;Valencia;46117;SPAIN
email;internet:iggarpe@xxxxxx
title:Director I+D+i
tel;fax:+34 961602842
tel;cell:+34 619311995
url:www.t2i.es
version:2.1
end:vcard