* [PATCH] Serial MRi MRI-PCIDS1 dual port serial card
@ 2005-04-07 18:54 David Ranson
0 siblings, 0 replies; only message in thread
From: David Ranson @ 2005-04-07 18:54 UTC (permalink / raw)
To: linux-kernel
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,
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-04-07 18:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-07 18:54 [PATCH] Serial MRi MRI-PCIDS1 dual port serial card David Ranson
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.