cvs commit: src/sys/dev/pci pci_pci.c

Bernd Walter ticso at cicely12.cicely.de
Sun Jul 3 01:25:55 GMT 2005


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 at bwct.de                                  info at bwct.de



More information about the cvs-all mailing list