Re: Syba 8-Port Serial Card Unidentified By Kernel

From: Andrey Panin
Date: Fri Oct 12 2007 - 08:08:58 EST


On 284, 10 11, 2007 at 01:02:12PM -0400, Chris Bergeron wrote:
> Andrey Panin wrote:
>> On 278, 10 05, 2007 at 05:31:05PM -0400, Chris Bergeron wrote:
>>
>>> Hello all,
>>>
>>> I've just installed a multiport serial card released by an outfit called
>>> Syba. This is an 8 port serial-only card with an Octopus style breakout
>>> cable. The main chipset on it is an ITE IT8871F.
>>>
>>
>> Are you sure ? IIRC IT887x are PCI-ISA bridges with additional periphery
>> and your lspci shows PLX chip. Can you send complete lspci -vv output ?
>> Output of dmesg could be useful too.
>>
>>
>>
> I'm sure that's what it says on the largest chip on the PCI card. It could
> be that the other two chips are more relevant... the numbers from them are
> included below.
>
> I've posted up a quick text only page with the diagnostic information from
> the system (full dmesg, lspci, etc) plus links to pictures of the board
> (since others might see something important that I'm not aware of). You
> can access that at
> http://pcburn.com/files/Syba_serial_controller/index.html

Can you try an attached patch ? I hope it should at least detect UARTs on
your board. Be ready that baudrate could be wrong, because we do not know
what frequency is used to clock these UARTs.

> One chip has "ITE IT8871F 0641-AYS ZF1M04L" written on it, and the other
> two have a stylized celtic knot looking "T" followed by "TG16C554CJG
> FTA6M-001 0620-B".

--
Andrey Panin | Linux and UNIX system administrator
pazke@xxxxxxxxx | PGP key: wwwkeys.pgp.net
diff -urdpNX /usr/share/dontdiff linux-2.6.23.vanilla/drivers/serial/8250_pci.c linux-2.6.23/drivers/serial/8250_pci.c
--- linux-2.6.23.vanilla/drivers/serial/8250_pci.c 2007-10-12 14:20:44.000000000 +0400
+++ linux-2.6.23/drivers/serial/8250_pci.c 2007-10-12 14:07:08.000000000 +0400
@@ -1036,6 +1036,7 @@ enum pci_board_num_t {
pbn_b0_2_115200,
pbn_b0_4_115200,
pbn_b0_5_115200,
+ pbn_b0_8_115200,

pbn_b0_1_921600,
pbn_b0_2_921600,
@@ -1172,6 +1173,12 @@ static struct pciserial_board pci_boards
.base_baud = 115200,
.uart_offset = 8,
},
+ [pbn_b0_8_115200] = {
+ .flags = FL_BASE0,
+ .num_ports = 8,
+ .base_baud = 115200,
+ .uart_offset = 8,
+ },

[pbn_b0_1_921600] = {
.flags = FL_BASE0,
@@ -2520,6 +2527,11 @@ static struct pci_device_id serial_pci_t
PCI_ANY_ID, PCI_ANY_ID, 0, 0,
pbn_b3_8_115200 },

+ /* Syba PCI8871-PR8 8-port serial card */
+ { PCI_VENDOR_ID_PLX, 0x9016,
+ 0x544e, 0x0008, 0, 0,
+ pbn_b0_8_115200 },
+
/*
* Exar Corp. XR17C15[248] Dual/Quad/Octal UART
*/

Attachment: signature.asc
Description: Digital signature