From owner-freebsd-current@FreeBSD.ORG Tue Jun 14 17:29:16 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E02D1065677; Tue, 14 Jun 2011 17:29:16 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id DBBAA8FC16; Tue, 14 Jun 2011 17:29:15 +0000 (UTC) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtps (TLSv1:AES128-SHA:128) (Exim 4.54 (FreeBSD)) id 1QWWul-0009b9-Ku; Tue, 14 Jun 2011 20:56:31 +0400 From: Boris Samorodov To: John Baldwin References: <201105231039.02845.jhb@freebsd.org> <201106101511.02809.jhb@freebsd.org> Date: Tue, 14 Jun 2011 20:56:31 +0400 In-Reply-To: <201106101511.02809.jhb@freebsd.org> (John Baldwin's message of "Fri, 10 Jun 2011 15:11:02 -0400") Message-ID: <34322608@bb.ipt.ru> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-current@freebsd.org Subject: Re: [PATCH] Simple tidy up of puc(4) bus driver X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 14 Jun 2011 17:29:16 -0000 On Fri, 10 Jun 2011 15:11:02 -0400 John Baldwin wrote: > On Monday, May 23, 2011 10:39:02 am John Baldwin wrote: > > This small patch makes the puc(4) bus drivers a little more friendly. It > > should now list the port for each child device in the boot messages, and > > devinfo -v should list the type and port of each child device in its output as > > well: > Can I get a volunteer to test these changes? Seems to be OK: ----- % uname -a FreeBSD bb.ipt.ru 9.0-CURRENT FreeBSD 9.0-CURRENT #3 r223003M: Tue Jun 14 20:37:38 MSD 2011 root@bb.ipt.ru:/usr/obj/usr/src/sys/BB i386 ----- Messages and devinfo from the patched kernel: ----- puc0: port 0xec00-0xec7f,0xe880-0xe8bf,0xe800-0xe80f mem 0xfebffc00-0xfebffc7f,0xfebff800-0xfebff83f,0xfebff400-0xfebff40f irq 16 at device 0.0 on pci5 uart2: <16550 or compatible> at port 1 on puc0 uart3: <16550 or compatible> at port 2 on puc0 uart4: <16550 or compatible> at port 3 on puc0 uart5: <16550 or compatible> at port 4 on puc0 uart6: <16550 or compatible> at port 5 on puc0 uart7: <16550 or compatible> at port 6 on puc0 uart8: <16550 or compatible> at port 7 on puc0 uart9: <16550 or compatible> at port 8 on puc0 --- pci5 puc0 pnpinfo vendor=0x1415 device=0x9538 subvendor=0x1415 subdevice=0x0671 class=0x070200 at slot=0 function=0 uart2 pnpinfo type=1 at port=1 uart3 pnpinfo type=1 at port=2 uart4 pnpinfo type=1 at port=3 uart5 pnpinfo type=1 at port=4 uart6 pnpinfo type=1 at port=5 uart7 pnpinfo type=1 at port=6 uart8 pnpinfo type=1 at port=7 uart9 pnpinfo type=1 at port=8 ----- -- WBR, Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve