From: Eric Smith <eric@brouhaha.com>
To: linux-serial@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: [patch 1/1] 8250_pci: add support for Rosewill RC-305 4x serial port card
Date: Mon, 11 Jul 2011 22:53:13 -0600 [thread overview]
Message-ID: <4E1BD339.5060905@brouhaha.com> (raw)
From: Eric Smith <eric@brouhaha.com>
This patch adds support for the Rosewill RC-305 four-port PCI serial
card, and probably any other four-port serial cards based on the
Moschip MCS9865 chip, assuming that the EEPROM on the card was
programmed in accordance with Table 6 of the MCS9865 EEPROM
Application Note version 0.3 dated 16-May-2008, available from the
Moschip web site (registration required).
This patch is based on an earlier patch [1] for the SYBA 6x serial
port card by Ira W. Snyder.
[1]: http://www.gossamer-threads.com/lists/linux/kernel/1162435
Signed-off-by: Eric Smith <eric@brouhaha.com>
---
This patch has been tested with the 3.0-rc7 and 2.6.35 kernels, though for
the 2.6.35 kernel the location of the driver source file is in
drivers/serial
rather than drivers/tty/serial.
diff -uprN -X linux-3.0-rc7/Documentation/dontdiff
linux-3.0-rc7/drivers/tty/serial/8250_pci.c
linux-3.0-rc7-rosewill/drivers/tty/serial/8250_pci.c
--- linux-3.0-rc7/drivers/tty/serial/8250_pci.c 2011-07-11
17:51:52.000000000 -0600
+++ linux-3.0-rc7-rosewill/drivers/tty/serial/8250_pci.c
2011-07-11 22:24:59.000000000 -0600
@@ -3886,7 +3886,7 @@ static struct pci_device_id serial_pci_t
0, 0, pbn_b0_1_115200 },
/*
- * Best Connectivity PCI Multi I/O cards
+ * Best Connectivity and Rosewill PCI Multi I/O cards
*/
{ PCI_VENDOR_ID_NETMOS, PCI_DEVICE_ID_NETMOS_9865,
@@ -3894,6 +3894,10 @@ static struct pci_device_id serial_pci_t
0, 0, pbn_b0_1_115200 },
{ PCI_VENDOR_ID_NETMOS, PCI_DEVICE_ID_NETMOS_9865,
+ 0xA000, 0x3002,
+ 0, 0, pbn_b0_bt_2_115200 },
+
+ { PCI_VENDOR_ID_NETMOS, PCI_DEVICE_ID_NETMOS_9865,
0xA000, 0x3004,
0, 0, pbn_b0_bt_4_115200 },
/* Intel CE4100 */
reply other threads:[~2011-07-12 4:59 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=4E1BD339.5060905@brouhaha.com \
--to=eric@brouhaha.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox