mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: root@macp.eti.br (root)
To: linux-kernel@vger.kernel.org
Cc: marcelo@conectiva.com.br, marcelo@macp.eti.br
Subject: Support for Netmos 6 port 16550a serial card
Date: Thu, 11 Sep 2003 12:21:01 -0300 (BRT)	[thread overview]
Message-ID: <20030911152101.CE8BD16CD2D@macp.eti.br> (raw)

Follows a trivial patch to add support of a popular serial card in Brazil that
contains 6 standard 16550A uarts with a Netmos PCI glue. Only adds the
apropriate entries to the proper pci and serial ids. Please apply.

diff -urN linux-2.4.22/drivers/char/serial.c linux-2.4.22/drivers/char/serial.c
--- linux-2.4.21/drivers/char/serial.c	2003-09-11 12:11:54.000000000 -0300
+++ linux-2.4.22/drivers/char/serial.c	2003-09-10 14:17:22.000000000 -0300
@@ -4370,6 +4370,8 @@
 	pbn_computone_4,
 	pbn_computone_6,
 	pbn_computone_8,
+
+	netmos_9845
 };
 
 static struct pci_board pci_boards[] __devinitdata = {
@@ -4478,6 +4480,7 @@
 		0x40, 2, NULL, 0x200 },
 	{ SPCI_FL_BASE0, 8, 921600, /* IOMEM */		   /* pbn_computone_8 */
 		0x40, 2, NULL, 0x200 },
+	{ SPCI_FL_BASE0 | SPCI_FL_BASE_TABLE, 6, 115200 },			   /* netmos_9845 */
 };
 
 /*
@@ -4921,6 +4924,10 @@
 		PCI_ANY_ID, PCI_ANY_ID, 0, 0,
 		pbn_dci_pccom8 },
 
+	{ PCI_VENDOR_ID_NETMOS, PCI_DEVICE_ID_NETMOS_9845,
+		PCI_ANY_ID, PCI_ANY_ID, 0, 0, netmos_9845
+		},
+
        { PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID,
 	 PCI_CLASS_COMMUNICATION_SERIAL << 8, 0xffff00, },
        { PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID,
diff -urN linux-2.4.22/drivers/pci/pci.ids linux-2.4.22/drivers/pci/pci.ids
--- linux-2.4.21/drivers/pci/pci.ids	2003-09-11 12:11:55.000000000 -0300
+++ linux-2.4.22/drivers/pci/pci.ids	2003-09-10 14:17:22.000000000 -0300
@@ -7217,6 +7217,7 @@
 9710  NetMos Technology
 	9815  VScom 021H-EP2 2 port parallel adaptor
 	9835  222N-2 I/O Card (2S+1P)
+	9845  6 port 16550a serial card
 a0a0  AOPEN Inc.
 a0f1  UNISYS Corporation
 a200  NEC Corporation

                 reply	other threads:[~2003-09-11 15:21 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=20030911152101.CE8BD16CD2D@macp.eti.br \
    --to=root@macp.eti.br \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo@conectiva.com.br \
    --cc=marcelo@macp.eti.br \
    /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

all inboxes | Powered by JetHome®