From owner-freebsd-current@FreeBSD.ORG Fri May 14 11:55:46 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DEE7016A4CE for ; Fri, 14 May 2004 11:55:45 -0700 (PDT) Received: from hanoi.cronyx.ru (hanoi.cronyx.ru [144.206.181.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FBA243D39 for ; Fri, 14 May 2004 11:55:44 -0700 (PDT) (envelope-from rik@cronyx.ru) Received: (from root@localhost) by hanoi.cronyx.ru id i4EIr2je055932 for freebsd-current@freebsd.org.checked; (8.12.8/vak/2.1) Fri, 14 May 2004 22:53:02 +0400 (MSD) (envelope-from rik@cronyx.ru) Received: from cronyx.ru (hi.cronyx.ru [144.206.181.94]) by hanoi.cronyx.ru with ESMTP id i4EIob3G055839; (8.12.8/vak/2.1) Fri, 14 May 2004 22:50:38 +0400 (MSD) (envelope-from rik@cronyx.ru) Message-ID: <40A51547.3000000@cronyx.ru> Date: Fri, 14 May 2004 22:51:51 +0400 From: Roman Kurakin User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031208 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Marcel Moolenaar References: <40A26162.9030607@cronyx.ru> <20040512.200542.09569104.imp@bsdimp.com> <40A37468.3060608@cronyx.ru> <20040513155109.GB6572@dhcp01.pn.xcllnt.net> <40A4E2CB.2000007@cronyx.ru> <20040514163718.GA53695@ns1.xcllnt.net> In-Reply-To: <20040514163718.GA53695@ns1.xcllnt.net> Content-Type: multipart/mixed; boundary="------------070903020004050501080102" X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: freebsd-current@freebsd.org Subject: Re: Sio & Puc memory mapped X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 May 2004 18:55:46 -0000 This is a multi-part message in MIME format. --------------070903020004050501080102 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Marcel Moolenaar wrote: >On Fri, May 14, 2004 at 07:16:27PM +0400, Roman Kurakin wrote: > >*snip* > > >>I don't have any other cards supported by uart(4), so I can't test >>it by my self. If you have a time and ability, I'll send these tests >>for you. >> >> >Love to. I can take a look at it this weekend. If the tests aren't >self-explanatory, could you add a small note about what they are >supposed to test and if not obvious, what their expected outcome is? > > If you get an error or test freeze this would be bad. The only problem that could be - "break test" should fail. Other tests should pass. I doesn't use break test, so I put off to find out why this part is broken. Usage: aiotest [-spmfb] device1 device2 Options: -s speed test -p parity test -m pmodem signals test -f flow control test -b break test This test tests two ports. You need a full null-mode cable for it. Usage: asytest [-b baud] [-p pattern] device... Options: -b # data rate, default 115200 bits/sec -p [12] pattern, default 1 1 0xAA/0x55 2 random This is single port test. You need a loop for it. You may run two tests for two connected to each other ports, but in that case I would unable to use random pattern. On linux 2.6 serial driver test with constant pattern works almost fine, but with random shows how it is buggy. rik --------------070903020004050501080102--