public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] serial: support for InstaShield IS-400 four port RS-232 PCI card.
@ 2008-05-12 16:11 Ignacio García Pérez
  0 siblings, 0 replies; only message in thread
From: Ignacio García Pérez @ 2008-05-12 16:11 UTC (permalink / raw)
  To: linux-kernel, linux-serial

[-- Attachment #1: Type: text/plain, Size: 1630 bytes --]

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@t2i.com>

---

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


[-- Attachment #2: iggarpe.vcf --]
[-- Type: text/x-vcard, Size: 442 bytes --]

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@t2i.es
title:Director I+D+i
tel;fax:+34 961602842
tel;cell:+34 619311995
url:www.t2i.es
version:2.1
end:vcard


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-05-12 16:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-12 16:11 [2.6 patch] serial: support for InstaShield IS-400 four port RS-232 PCI card Ignacio García Pérez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox