Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jun 2011 20:56:31 +0400
From:      Boris Samorodov <bsam@ipt.ru>
To:        John Baldwin <jhb@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: [PATCH] Simple tidy up of puc(4) bus driver
Message-ID:  <34322608@bb.ipt.ru>
In-Reply-To: <201106101511.02809.jhb@freebsd.org> (John Baldwin's message of "Fri, 10 Jun 2011 15:11:02 -0400")
References:  <201105231039.02845.jhb@freebsd.org> <201106101511.02809.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <Oxford Semiconductor OX16PCI958 UARTs> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34322608>