2002-02-08 01:39:20

by Jim Treadway

[permalink] [raw]
Subject: [PATCH] Add support for Lava Octopus PCI serial card


This patch (against 2.4.17) adds support for the "Lava Octopus-550" (a
multiport PCI serial card).

I'm not sure exactly who the maintainer of the serial driver for the 2.4.X
branch is, and the linux-serial list seems to be rather dead, so I'm
sending it here.

If anyone knows of a better place to send this, please let me know. ;)


diff -ur linux-2.4.17-orig/drivers/char/serial.c linux-2.4.17/drivers/char/serial.c
--- linux-2.4.17-orig/drivers/char/serial.c Fri Dec 21 09:41:54 2001
+++ linux-2.4.17/drivers/char/serial.c Wed Jan 23 23:33:31 2002
@@ -4244,6 +4244,7 @@
pbn_b0_bt_2_115200,
pbn_b0_bt_1_460800,
pbn_b0_bt_2_460800,
+ pbn_b0_bt_4_460800,

pbn_b1_1_115200,
pbn_b1_2_115200,
@@ -4322,6 +4323,7 @@
{ SPCI_FL_BASE0 | SPCI_FL_BASE_TABLE, 2, 115200 }, /* pbn_b0_bt_2_115200 */
{ SPCI_FL_BASE0 | SPCI_FL_BASE_TABLE, 1, 460800 }, /* pbn_b0_bt_1_460800 */
{ SPCI_FL_BASE0 | SPCI_FL_BASE_TABLE, 2, 460800 }, /* pbn_b0_bt_2_460800 */
+ { SPCI_FL_BASE0 | SPCI_FL_BASE_TABLE, 4, 460800 }, /* pbn_b0_bt_4_460800 */

{ SPCI_FL_BASE1, 1, 115200 }, /* pbn_b1_1_115200 */
{ SPCI_FL_BASE1, 2, 115200 }, /* pbn_b1_2_115200 */
@@ -4829,6 +4831,12 @@
{ PCI_VENDOR_ID_LAVA, PCI_DEVICE_ID_LAVA_QUAD_B,
PCI_ANY_ID, PCI_ANY_ID, 0, 0,
pbn_b0_bt_2_460800 },
+ { PCI_VENDOR_ID_LAVA, PCI_DEVICE_ID_LAVA_OCTO_A,
+ PCI_ANY_ID, PCI_ANY_ID, 0, 0,
+ pbn_b0_bt_4_460800 },
+ { PCI_VENDOR_ID_LAVA, PCI_DEVICE_ID_LAVA_OCTO_B,
+ PCI_ANY_ID, PCI_ANY_ID, 0, 0,
+ pbn_b0_bt_4_460800 },
{ PCI_VENDOR_ID_LAVA, PCI_DEVICE_ID_LAVA_SSERIAL,
PCI_ANY_ID, PCI_ANY_ID, 0, 0,
pbn_b0_bt_1_115200 },
diff -ur linux-2.4.17-orig/include/linux/pci_ids.h linux-2.4.17/include/linux/pci_ids.h
--- linux-2.4.17-orig/include/linux/pci_ids.h Fri Dec 21 09:42:03 2001
+++ linux-2.4.17/include/linux/pci_ids.h Wed Jan 23 23:22:57 2002
@@ -1441,6 +1441,8 @@
#define PCI_DEVICE_ID_LAVA_DSERIAL 0x0100 /* 2x 16550 */
#define PCI_DEVICE_ID_LAVA_QUATRO_A 0x0101 /* 2x 16550, half of 4 port */
#define PCI_DEVICE_ID_LAVA_QUATRO_B 0x0102 /* 2x 16550, half of 4 port */
+#define PCI_DEVICE_ID_LAVA_OCTO_A 0x0180 /* 4x 16550A, half of 8 port */
+#define PCI_DEVICE_ID_LAVA_OCTO_B 0x0181 /* 4x 16550A, half of 8 port */
#define PCI_DEVICE_ID_LAVA_PORT_PLUS 0x0200 /* 2x 16650 */
#define PCI_DEVICE_ID_LAVA_QUAD_A 0x0201 /* 2x 16650, half of 4 port */
#define PCI_DEVICE_ID_LAVA_QUAD_B 0x0202 /* 2x 16650, half of 4 port */


2002-02-08 09:53:31

by Denis Vlasenko

[permalink] [raw]
Subject: Re: [PATCH] Add support for Lava Octopus PCI serial card

On 7 February 2002 23:38, Jim Treadway wrote:
> This patch (against 2.4.17) adds support for the "Lava Octopus-550" (a
> multiport PCI serial card).
>
> I'm not sure exactly who the maintainer of the serial driver for the 2.4.X
> branch is, and the linux-serial list seems to be rather dead, so I'm
> sending it here.
>
> If anyone knows of a better place to send this, please let me know. ;)

Don't know for 2.4, but:

Russell King <[email protected]> [06 feb 2002]
ARM architecture maintainer. Please send all ARM patches through
the patch system at http://www.arm.linux.org.uk/developer/patches/
New serial drivers maintainer for 2.5. Submit patches to
[email protected]

Alan Cox <[email protected]> [5 feb 2002]
2.2 maintainer.
He collects various bits and pieces for inclusion in 2.4.

Dave Jones <[email protected]> [5 feb 2002]
Collects various bits and pieces for inclusion in 2.5,
espesially small and trivial ones and driver updates.

--
vda