Perle Speed4 LE 4 port serial card

Douglas K. Rand rand at meridian-enviro.com
Wed May 19 23:14:23 UTC 2010


Thanks for the help! With a few changes I got it working:

--- pucdata.c.orig      2010-05-19 13:09:50.000000000 -0500
+++ pucdata.c   2010-05-19 13:09:59.000000000 -0500
@@ -637,6 +637,12 @@
            PUC_PORT_4S, 0x10, 0, 8,
        },
 
+       {   0x155f, 0x0331, 0xffff, 0,
+           "Perle Speed4 LE",
+           DEFAULT_RCLK * 8,
+           PUC_PORT_4S, 0x10, 0, 8,
+       },
+
        {   0x1415, 0x950a, 0xffff, 0,
            "Oxford Semiconductor OX16PCI954 UARTs",
            DEFAULT_RCLK,

Of course the '* 8' was the last one I tried. With an older SIIG card
I had to use *10 so I tried that first. Then it seems that *4 was
popular so I tried that. Finally got it with *8.

Here is the puc and uart parts of the dmesg:

puc0: <Perle Speed4 LE> port 0xec80-0xec9f,0xeca0-0xecbf mem 0xdf2fc000-0xdf2fcfff,0xdf2fd000-0xdf2fdfff irq 38 at device 0.0 on pci7
puc0: [FILTER]
uart2: <16550 or compatible> on puc0
uart2: [FILTER]
uart3: <16550 or compatible> on puc0
uart3: [FILTER]
uart4: <16550 or compatible> on puc0
uart4: [FILTER]
uart5: <16550 or compatible> on puc0
uart5: [FILTER]
puc1: <Perle Speed4 LE> port 0xecc0-0xecdf,0xece0-0xecff mem 0xdf2fe000-0xdf2fefff,0xdf2ff000-0xdf2fffff irq 38 at device 0.1 on pci7
puc1: [FILTER]
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart0: [FILTER]
uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0
uart1: [FILTER]

It recoginzes the 4 ports uart{2..5} and all 4 work fine. I'm not sure
why both a puc0 and puc1 show up, but everything is working.

Thanks for the help. Is a PR for this useful or just extra email
noise?



More information about the freebsd-hardware mailing list