From: Luca Montecchiani <luca.montecchiani@teamfab.it>
To: linux-kernel@vger.kernel.org
Cc: Ian Abbott <abbotti@mev.co.uk>, Russell King <rmk@arm.linux.org.uk>
Subject: [PATCH] Support for the Decision PCCOM 4 ports in Serial 5.0.5
Date: Thu, 07 Feb 2002 15:40:40 +0100 [thread overview]
Message-ID: <3C6291E8.AFF26AD1@teamfab.it> (raw)
[-- Attachment #1: Type: text/plain, Size: 596 bytes --]
Hi!
This patch add support for the Decision PCCOM 4 (1) ports pci cards.
The patch was made and tested on a 2.2.19 kernel with the 5.0.5
serial driver.
bye,
luca
(1)
Serial controller: Decision Computer International Co. PCCOM4 (rev 02) (prog-if 02 [16550])
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 5
Region 0: Memory at e9002000 (32-bit, non-prefetchable)
Region 1: I/O ports at e400
Region 3: I/O ports at e800
[-- Attachment #2: pccom4_diff.txt --]
[-- Type: text/plain, Size: 1417 bytes --]
diff -ur linux-2.2.19-ori/drivers/char/serial.c linux-2.2.19/drivers/char/serial.c
--- linux-2.2.19-ori/drivers/char/serial.c Mon Aug 6 12:06:13 2001
+++ linux-2.2.19/drivers/char/serial.c Thu Feb 7 12:07:13 2002
@@ -54,6 +54,9 @@
* 7/00: fix some returns on failure not using MOD_DEC_USE_COUNT.
* Arnaldo Carvalho de Melo <acme@conectiva.com.br>
*
+ * 2/02: Support for the Decision PCCOM 4 ports added.
+ * Luca Montecchiani <l.montecchiani@teamsystem.com>
+ *
* This module exports the following rs232 io functions:
*
* int rs_init(void);
@@ -4569,10 +4572,15 @@
SPCI_FL_BASE0, 1, 520833,
64, 3, NULL, 0x300 },
#endif
+ { PCI_VENDOR_ID_DCI, PCI_DEVICE_ID_DCI_PCCOM4,
+ PCI_ANY_ID, PCI_ANY_ID,
+ SPCI_FL_BASE3, 4, 115200,
+ 8 },
{ PCI_VENDOR_ID_DCI, PCI_DEVICE_ID_DCI_PCCOM8,
PCI_ANY_ID, PCI_ANY_ID,
SPCI_FL_BASE3, 8, 115200,
- 8 },
+ 8 },
/* Generic serial board */
{ 0, 0,
0, 0,
diff -ur linux-2.2.19-ori/drivers/char/serial_compat.h linux-2.2.19/drivers/char/serial_compat.h
--- linux-2.2.19-ori/drivers/char/serial_compat.h Mon Aug 6 12:06:13 2001
+++ linux-2.2.19/drivers/char/serial_compat.h Thu Feb 7 11:39:41 2002
@@ -476,6 +476,10 @@
#define PCI_DEVICE_ID_RASTEL_2PORT 0x2000
#endif
+#ifndef PCI_DEVICE_ID_DCI_PCCOM4
+#define PCI_DEVICE_ID_DCI_PCCOM4 0x0001
+#endif
+
#ifndef PCI_DEVICE_ID_DCI_PCCOM8
#define PCI_DEVICE_ID_DCI_PCCOM8 0x0002
#endif
reply other threads:[~2002-02-07 14:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3C6291E8.AFF26AD1@teamfab.it \
--to=luca.montecchiani@teamfab.it \
--cc=abbotti@mev.co.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=rmk@arm.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox