From owner-freebsd-stable@FreeBSD.ORG Wed Sep 28 12:55:27 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 336EE106564A for ; Wed, 28 Sep 2011 12:55:27 +0000 (UTC) (envelope-from kkv@insysnet.ru) Received: from insysnet.ru (cadillac2.insysnet.ru [77.72.138.216]) by mx1.freebsd.org (Postfix) with SMTP id 54CA48FC14 for ; Wed, 28 Sep 2011 12:55:25 +0000 (UTC) Received: (qmail 91601 invoked from network); 28 Sep 2011 16:55:24 +0400 Received: from frog.insysnet.ru (HELO ?192.168.100.21?) (77.72.142.1) by mail.insysnet.ru with SMTP; 28 Sep 2011 16:55:24 +0400 Message-ID: <4E83193B.8040105@insysnet.ru> Date: Wed, 28 Sep 2011 16:55:23 +0400 From: "Konstantin V. Krotov" Organization: InSys User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; ru-RU; rv:1.9.2.13) Gecko/20110112 Thunderbird/3.1.7 MIME-Version: 1.0 To: Andriy Gapon , freebsd-stable@freebsd.org References: <4E79D2BE.7070307@insysnet.ru> <4E7A3FA2.9090600@FreeBSD.org> <4E7AC342.2040906@insysnet.ru> In-Reply-To: <4E7AC342.2040906@insysnet.ru> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit Cc: Subject: Re: support for Oxford Semiconductor OXPCIe952 UARTs X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Sep 2011 12:55:27 -0000 22.09.2011 09:10, Konstantin V. Krotov пишет: > 21.09.2011 23:48, Andriy Gapon пишет: >> on 21/09/2011 15:04 Konstantin V. Krotov said the following: >>> hello. >>> i'm have on fbsd RELENG_8 pci-e card with 1 rs-232 port. >>> and this card don't support. >>> >>> (after patch) >>> pciconf -lv >>> puc0@pci0:5:0:0: class=0x070002 card=0xc1381415 chip=0xc1381415 rev=0x00 >>> hdr=0x00 >>> vendor = 'Oxford Semiconductor Ltd - now part of PLX Technology' >>> class = simple comms >>> subclass = UART >>> >>> i wrote fast-hack patch: >> >> Does the device work correctly with this patch? > yes, work. > >> If yes, could you please submit the patch in a PR and also send a >> message about >> the PR to either current@ or stable@ mailing list depending on what >> version of >> FreeBSD you used? >> Thank you! >> >>> --- pucdata.c 2011-08-22 22:46:02.000000000 +0400 >>> +++ pucdata.c_ 2011-09-06 13:27:23.000000000 +0400 >>> @@ -739,6 +739,13 @@ >>> PUC_PORT_NONSTANDARD, 0x10, 0, -1, >>> .config_function = puc_config_oxford_pcie >>> }, >>> + >>> + { 0x1415, 0xc138, 0xffff, 0, >>> + "Oxford Semiconductor OXPCIe952 UARTs", >>> + DEFAULT_RCLK * 0x22, >>> + PUC_PORT_NONSTANDARD, 0x10, 0, -1, >>> + .config_function = puc_config_oxford_pcie >>> + }, >>> >>> { 0x1415, 0xc15d, 0xffff, 0, >>> "Oxford Semiconductor OXPCIe952 UARTs (function 1)", >>> >>> >> >> > PR 160895 -- WBR, Konstantin V. Krotov CJSs "Information Systems" mailto: kkv@insysnet.ru phone: +7 (8332) 51-35-95