[<prev] [next>] [day] [month] [year] [list]
Message-ID: <48286C3E.90705@t2i.es>
Date: Mon, 12 May 2008 18:11:42 +0200
From: Ignacio García Pérez <iggarpe@....es>
To: linux-kernel@...r.kernel.org, linux-serial@...r.kernel.org
Subject: [2.6 patch] serial: support for InstaShield IS-400 four port RS-232
PCI card.
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@....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
View attachment "iggarpe.vcf" of type "text/x-vcard" (443 bytes)
Powered by blists - more mailing lists