From owner-freebsd-bugs@FreeBSD.ORG Mon Nov 8 04:00:18 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA7041065673 for ; Mon, 8 Nov 2010 04:00:18 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A1AFD8FC13 for ; Mon, 8 Nov 2010 04:00:18 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oA840IFj006588 for ; Mon, 8 Nov 2010 04:00:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oA840Ips006587; Mon, 8 Nov 2010 04:00:18 GMT (envelope-from gnats) Resent-Date: Mon, 8 Nov 2010 04:00:18 GMT Resent-Message-Id: <201011080400.oA840Ips006587@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Hans Fiedler Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1912C106566C for ; Mon, 8 Nov 2010 03:50:19 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 065E48FC0A for ; Mon, 8 Nov 2010 03:50:19 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id oA83oIOA050491 for ; Mon, 8 Nov 2010 03:50:18 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id oA83oIaD050490; Mon, 8 Nov 2010 03:50:18 GMT (envelope-from nobody) Message-Id: <201011080350.oA83oIaD050490@www.freebsd.org> Date: Mon, 8 Nov 2010 03:50:18 GMT From: Hans Fiedler To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/152034: [puc] [patch] SIIG Cyber 2S PCIe not working correcty with puc driver X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2010 04:00:19 -0000 >Number: 152034 >Category: kern >Synopsis: [puc] [patch] SIIG Cyber 2S PCIe not working correcty with puc driver >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Nov 08 04:00:18 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Hans Fiedler >Release: 8.1-STABLE >Organization: University of Louisville >Environment: FreeBSD netwatch.louisville.edu 8.1-STABLE FreeBSD 8.1-STABLE #7: Thu Oct 14 20:00:36 EDT 2010 syshans@distribution8.louisville.edu:/usr/obj/usr/src/sys/X3250 amd64 >Description: The SIIG Cyber 2S PCIe (JJ-E20011) port serial card doesn't seem to function correctly. Changing the 'DEFAULT_RCLK *10'seems to get it working correctly. before patching pucdata.c shows this devinfo -v pcib2 pnpinfo vendor=0x8086 device=0x2940 subvendor=0x1014 subdevice=0x0377 class=0x060400 at slot=28 function=0 handle=\_SB_.PCI0.EXP1 pci8 pcib3 pnpinfo vendor=0x104c device=0x8231 subvendor=0x0000 subdevice=0x0000 class=0x060400 at slot=0 function=0 handle=\_SB_.PCI0.EXP1.PXS1 pci9 puc0 pnpinfo vendor=0x1415 device=0x950a subvendor=0x131f subdevice=0x2030 class=0x070006 at slot=0 function=0 uart2 uart3 uart4 uart5 unknown pnpinfo vendor=0x1415 device=0x9510 subvendor=0x131f subdevice=0x0000 class=0x070101 at slot=0 function=1 and pciconf -lv puc0@pci0:9:0:0: class=0x070006 card=0x2030131f chip=0x950a1415 rev=0x00 hdr=0x00 vendor = 'Oxford Semiconductor Ltd - now part of PLX Technology' device = 'OX16PCI954 Dual PCI UART (??)' class = simple comms subclass = UART none1@pci0:9:0:1: class=0x070101 card=0x0000131f chip=0x95101415 rev=0x00 hdr=0x00 vendor = 'Oxford Semiconductor Ltd - now part of PLX Technology' device = 'PCI Interface (disabled) (OX16PCI954)' class = simple comms subclass = parallel port after, and the ports seem to be working OK devinfo -v pcib2 pnpinfo vendor=0x8086 device=0x2940 subvendor=0x1014 subdevice=0x0377 class=0x060400 at slot=28 function=0 handle=\_SB_.PCI0.EXP1 pci8 pcib3 pnpinfo vendor=0x104c device=0x8231 subvendor=0x0000 subdevice=0x0000 class=0x060400 at slot=0 function=0 handle=\_SB_.PCI0.EXP1.PXS1 pci9 puc0 pnpinfo vendor=0x1415 device=0x950a subvendor=0x131f subdevice=0x2030 class=0x070006 at slot=0 function=0 uart2 uart3 uart4 uart5 unknown pnpinfo vendor=0x1415 device=0x9510 subvendor=0x131f subdevice=0x0000 class=0x070101 at slot=0 function=1 pciconf -vl puc0@pci0:9:0:0: class=0x070006 card=0x2030131f chip=0x950a1415 rev=0x00 hdr=0x00 vendor = 'Oxford Semiconductor Ltd - now part of PLX Technology' device = 'OX16PCI954 Dual PCI UART (??)' class = simple comms subclass = UART none1@pci0:9:0:1: class=0x070101 card=0x0000131f chip=0x95101415 rev=0x00 hdr=0x00 vendor = 'Oxford Semiconductor Ltd - now part of PLX Technology' device = 'PCI Interface (disabled) (OX16PCI954)' class = simple comms subclass = parallel port >How-To-Repeat: The problem is repeatable in that two ports on the same system can communicate OK, but to external device the data rate of off. >Fix: I have a patch I'm attaching, I included the the above devinfo and pciconf as I expect a better solution is to add another device entry, instead if changing the existing info. Changing the DEFAULT_RCLK on this entry did fix the problem for this device. Patch attached with submission follows: *** pucdata.c-ORIG Wed Oct 13 14:50:51 2010 --- pucdata.c Sun Nov 7 22:41:15 2010 *************** *** 639,645 **** { 0x1415, 0x950a, 0xffff, 0, "Oxford Semiconductor OX16PCI954 UARTs", ! DEFAULT_RCLK, PUC_PORT_4S, 0x10, 0, 8, }, --- 639,645 ---- { 0x1415, 0x950a, 0xffff, 0, "Oxford Semiconductor OX16PCI954 UARTs", ! DEFAULT_RCLK * 10, PUC_PORT_4S, 0x10, 0, 8, }, >Release-Note: >Audit-Trail: >Unformatted: