From owner-freebsd-hardware@FreeBSD.ORG Wed May 19 23:14:23 2010 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24BFC1065674; Wed, 19 May 2010 23:14:23 +0000 (UTC) (envelope-from rand@meridian-enviro.com) Received: from newman.meridian-enviro.com (newman.meridian-enviro.com [12.192.92.56]) by mx1.freebsd.org (Postfix) with ESMTP id DF1AF8FC0C; Wed, 19 May 2010 23:14:22 +0000 (UTC) X-Envelope-To: freebsd-hardware@freebsd.org Received: from delta.meridian-enviro.com (delta.meridian-enviro.com [10.10.10.43]) by newman.meridian-enviro.com (8.13.6/8.13.6) with ESMTP id o4JNELTC063713; Wed, 19 May 2010 18:14:21 -0500 (CDT) (envelope-from rand@meridian-enviro.com) Date: Wed, 19 May 2010 18:14:21 -0500 Message-ID: <87pr0rh4c2.wl%rand@meridian-enviro.com> From: "Douglas K. Rand" To: John Baldwin In-Reply-To: <201005191528.31200.jhb@freebsd.org> References: <871vd8j10f.wl%rand@meridian-enviro.com> <201005190916.46581.jhb@freebsd.org> <87y6ffhpfj.wl%rand@meridian-enviro.com> <201005191528.31200.jhb@freebsd.org> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.7 Emacs/22.3 (i386-portbld-freebsd8.0) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: freebsd-hardware@freebsd.org Subject: Re: Perle Speed4 LE 4 port serial card X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 May 2010 23:14:23 -0000 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: 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: 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?