Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Jul 2005 01:25:55 -0000
From:      Bernd Walter <ticso@cicely12.cicely.de>
To:        Warner Losh <imp@bsdimp.com>
Cc:        ticso@cicely12.cicely.de, cvs-src@FreeBSD.org, src-committers@FreeBSD.org, ticso@cicely.de, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/pci pci_pci.c
Message-ID:  <20050219195421.GR14312@cicely12.cicely.de>
In-Reply-To: <20050218.161930.74704297.imp@bsdimp.com>
References:  <20050218214654.GD14312@cicely12.cicely.de> <20050218.153509.85367062.imp@bsdimp.com> <20050218225241.GG14312@cicely12.cicely.de> <20050218.161930.74704297.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 18, 2005 at 04:19:30PM -0700, Warner Losh wrote:
> > Unfortunately I just removed the bridged cards from the test box.
> 
> If it is easy to test, please do.

The machine I tried to test doesn't intialize sub busses at all :(

pcib1: <PCI-PCI bridge> at device 8.0 on pci0
pcib1:   secondary bus     1
pcib1:   subordinate bus   0
pcib1:   I/O decode        0x0-0x0
pcib1:   memory decode     0xfff00000-0xfffff
pcib1:   prefetched decode 0xfff00000-0xfffff
pci1: <PCI bus> on pcib1
pci1: physical bus=1
        map[10]: type 4, range 32, base 00000000, size  8, port disabled
        map[14]: type 1, range 32, base 00000000, size 12, memory disabled
found-> vendor=0x9004, dev=0x7378, revid=0x03
        bus=1, slot=4, func=0
        class=01-00-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0000, statreg=0x0280, cachelnsz=0 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x08 (2000 ns), maxlat=0x08 (2000 ns)
        intpin=a, irq=255
        map[10]: type 4, range 32, base 00000000, size  8, port disabled
        map[14]: type 1, range 32, base 00000000, size 12, memory disabled
        map[18]: type 3, range 32, base 00000000, size 21, enabled
found-> vendor=0x9004, dev=0x1078, revid=0x00
        bus=1, slot=5, func=0
        class=05-80-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0000, statreg=0x0280, cachelnsz=0 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x02 (500 ns), maxlat=0x02 (500 ns)
        intpin=a, irq=255
        map[10]: type 4, range 32, base 00000000, size  8, port disabled
        map[14]: type 1, range 32, base 00000000, size 12, memory disabled
found-> vendor=0x9004, dev=0x7378, revid=0x03
        bus=1, slot=8, func=0
        class=01-00-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0000, statreg=0x0280, cachelnsz=0 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x08 (2000 ns), maxlat=0x08 (2000 ns)
        intpin=a, irq=255
        map[10]: type 4, range 32, base 00000000, size  8, port disabled
        map[14]: type 1, range 32, base 00000000, size 12, memory disabled
found-> vendor=0x9004, dev=0x7378, revid=0x03
        bus=1, slot=12, func=0
        class=01-00-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0000, statreg=0x0280, cachelnsz=0 (dwords)

This was a Noname - later machines route memory ranges and enable
io ranges without activating them on bridges. 
Will have to retest with another box later.

How much work would it be to route resources our own?
I think you already do something like this for cardbus.
Interrupt routing is already active for that machine so I just need
memory and maybe io for stupid drivers/hardware, although io on alpha
is just another memory range.

-- 
B.Walter                   BWCT                http://www.bwct.de
bernd@bwct.de                                  info@bwct.de




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