From: "Vernon A. Fort" <vfort@provident-solutions.com>
To: linux-kernel@vger.kernel.org
Cc: torvalds@osdl.org
Subject: [PATCH] mxser.c kernel-2.6.5
Date: Wed, 19 May 2004 22:50:01 -0500 [thread overview]
Message-ID: <40AC2AE9.5070004@provident-solutions.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 268 bytes --]
This patch adds support for the CP-104 Moxa Smartio serial cards -
fairly stright forward modification.
Attached is a short patch. Please CC me if any concerns or questions,
I'm not a subscribed member.
Thanks
Vernon Fort
Provident Solutions, LLC
(615) 427-4016
[-- Attachment #2: mxser.diff --]
[-- Type: text/plain, Size: 1533 bytes --]
--- linux-2.6.5/drivers/char/mxser.c 2004-05-19 22:17:16.000000000 -0500
+++ linux/drivers/char/mxser.c 2004-05-19 22:42:58.000000000 -0500
@@ -35,6 +35,8 @@
* Added support for: C102, CI-132, CI-134, CP-132, CP-114, CT-114 cards
* by Damian Wrobel <dwrobel@ertel.com.pl>
*
+ * Added support for serial card CP104
+ * by James Nelson Provident Solutions <linux-info@provident-solutions.com>
*/
#include <linux/config.h>
@@ -116,6 +118,9 @@
#ifndef PCI_DEVICE_ID_C104
#define PCI_DEVICE_ID_C104 0x1040
#endif
+#ifndef PCI_DEVICE_ID_CP104
+#define PCI_DEVICE_ID_CP104 0x1041
+#endif
#ifndef PCI_DEVICE_ID_CP132
#define PCI_DEVICE_ID_CP132 0x1320
#endif
@@ -139,6 +144,7 @@
MXSER_BOARD_CI104J,
MXSER_BOARD_C168_PCI,
MXSER_BOARD_C104_PCI,
+ MXSER_BOARD_CP104_PCI,
MXSER_BOARD_C102_ISA,
MXSER_BOARD_CI132,
MXSER_BOARD_CI134,
@@ -154,6 +160,7 @@
"CI-104J series",
"C168H/PCI series",
"C104H/PCI series",
+ "CP104/PCI series",
"C102 series",
"CI-132 series",
"CI-134 series",
@@ -169,6 +176,7 @@
4,
8,
4,
+ 4,
2,
2,
4,
@@ -195,6 +203,8 @@
MXSER_BOARD_C168_PCI },
{ PCI_VENDOR_ID_MOXA, PCI_DEVICE_ID_C104, PCI_ANY_ID, PCI_ANY_ID, 0, 0,
MXSER_BOARD_C104_PCI },
+ { PCI_VENDOR_ID_MOXA, PCI_DEVICE_ID_CP104, PCI_ANY_ID, PCI_ANY_ID, 0, 0,
+ MXSER_BOARD_CP104_PCI },
{ PCI_VENDOR_ID_MOXA, PCI_DEVICE_ID_CP132, PCI_ANY_ID, PCI_ANY_ID, 0, 0,
MXSER_BOARD_CP132_PCI },
{ PCI_VENDOR_ID_MOXA, PCI_DEVICE_ID_CP114, PCI_ANY_ID, PCI_ANY_ID, 0, 0,
reply other threads:[~2004-05-20 3:50 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=40AC2AE9.5070004@provident-solutions.com \
--to=vfort@provident-solutions.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.