All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Ranson <spam.david.trap@unsolicited.net>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] Serial MRi MRI-PCIDS1 dual port serial card
Date: Thu, 07 Apr 2005 19:54:08 +0100	[thread overview]
Message-ID: <425581D0.5010409@unsolicited.net> (raw)

This trivial patch against 2.6.11.6 adds support for the MRi PCIDS1 dual
port serial card. This card is a little controversial since it is the
subject of a PCI vendor/device ID clash. (See
http://www.ussg.iu.edu/hypermail/linux/kernel/0303.1/0516.html). I have
for now just used the hex ID 0x950a. The divisor was part calculated
part iterated, so may not be exactly correct (but works for me at all
settings between 300 - 115300 bps).

Cheers
David

diff -ur old/linux-2.6.11/drivers/serial/8250_pci.c
new/linux-2.6.11/drivers/serial/8250_pci.c
--- old/linux-2.6.11/drivers/serial/8250_pci.c  2005-03-02
07:38:17.000000000 +0000
+++ new/linux-2.6.11/drivers/serial/8250_pci.c  2005-04-01
16:56:31.000000000 +0100
@@ -999,6 +999,7 @@

        pbn_b0_1_921600,
        pbn_b0_2_921600,
+        pbn_b0_2_1130000,
        pbn_b0_4_921600,

        pbn_b0_bt_1_115200,
@@ -1127,6 +1128,12 @@
                .base_baud      = 921600,
                .uart_offset    = 8,
        },
+        [pbn_b0_2_1130000] = {
+               .flags          = FL_BASE0,
+               .num_ports      = 2,
+               .base_baud      = 1130000,
+               .uart_offset    = 8,
+       },
        [pbn_b0_4_921600] = {
                .flags          = FL_BASE0,
                .num_ports      = 4,
@@ -1945,6 +1952,9 @@
        {       PCI_VENDOR_ID_OXSEMI, PCI_DEVICE_ID_OXSEMI_16PCI952,
                PCI_ANY_ID, PCI_ANY_ID, 0, 0,
                pbn_b0_bt_2_921600 },
+       {       PCI_VENDOR_ID_OXSEMI, 0x950a,
+               PCI_ANY_ID, PCI_ANY_ID, 0, 0,
+               pbn_b0_2_1130000 },

        /*
         * SBS Technologies, Inc. P-Octal and PMC-OCTPRO cards,


                 reply	other threads:[~2005-04-07 18:54 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=425581D0.5010409@unsolicited.net \
    --to=spam.david.trap@unsolicited.net \
    --cc=linux-kernel@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 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.