Who configures the pci/pcmcia bridge

Dirk-Willem van Gulik dirkx at webweaving.org
Wed May 28 17:25:04 PDT 2003


Even when the BIOS is instructed to assign an IRQ - boot -v shows

FreeBSD 5.0-RELEASE #0: Mon Apr 28 11:24:06 CEST 2003
    dirkx at foem.leiden.webweaving.org:/usr/obj/usr/src/sys/WLEIDEN.93264
...
bios32: Found BIOS32 Service Directory header at 0xc00fdb00
bios32: Entry = 0xf5f23 (c00f5f23)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xf5ec0+0x2ac
pnpbios: Found PnP BIOS data at 0xc00fdb10
pnpbios: Entry = f0000:5159  Rev = 1.0
pci_open(1):    mode 1 addr port (0x0cf8) is 0x80000050
pci_open(1a):   mode1res=0x80000000 (0x80000000)
pci_cfgcheck:   device 0 [class=060000] [hdr=00] is there (id=71008086)
pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
pci0: physical bus=0
...
found-> vendor=0x1180, dev=0x0475, revid=0x80
        bus=0, slot=17, func=0
        class=06-07-00, hdrtype=0x02, mfdev=0
        cmdreg=0x0000, statreg=0x0210, cachelnsz=0 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x07 (1750 ns)
        intpin=a, irq=255
        powerspec 2  supports D0 D1 D2 D3  current D0
found-> vendor=0x1180, dev=0x0475, revid=0x80
        bus=0, slot=18, func=0
        class=06-07-00, hdrtype=0x02, mfdev=0
        cmdreg=0x0000, statreg=0x0210, cachelnsz=0 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x07 (1750 ns)
        intpin=a, irq=255
        powerspec 1  supports D0 D1 D2 D3  current D0
        map[10]: type 3, range 32, base fedfb000, size 12, enabled

and hence:
	pci_cfgintr: can't route an interrupt to 0:17 INTA
	pcic0: <Ricoh RL5C475 PCI-CardBus Bridge> at device 17.0 on pci0
	pcic0: PCI Memory allocated: 0x88000000
	pci_cfgintr: can't route an interrupt to 0:17 INTA
	pcic0: No PCI interrupt routed, trying ISA.
	pcic0: Polling mode
	...
	pccard0: <PC Card 16-bit bus (classic)> on pcic0
	pci_cfgintr: can't route an interrupt to 0:18 INTA
	pcic1: <Ricoh RL5C475 PCI-CardBus Bridge> at device 18.0 on pci0
	pcic1: PCI Memory allocated: 0x88001000
	pci_cfgintr: can't route an interrupt to 0:18 INTA
	pcic1: No PCI interrupt routed, trying ISA.
	pcic1: Polling mode

Which I suspect leads tot the wi0..wi4 watchdog time outs. Now -who-
should ensure that an IRQ is configured ? Is this the kernel doing
something wrong, or the board ? (Ricoh RL5C475 - OEM model, no version #).

Dw



More information about the freebsd-hackers mailing list