bus_alloc_resource fails for AVM ISDN B1 card

Chuck Tuffli chuck_tuffli at agilent.com
Thu Jan 27 14:40:29 PST 2005


Joerg Anslik wrote:
. ..
found-> vendor=0x1244, dev=0x0700, revid=0x00
        bus=1, slot=6, func=0
        class=02-80-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        intpin=a, irq=10
        map[10]: type 1, range 32, base 00009800, size  8
        map[14]: type 1, range 32, base df004000, size  8
0x9800 looks like an IO port address range and not a memory range. The 
confusing part is that the dmesg output shows 2 other IO ports at 0x9000 
and 0x9400.

----------

So I assume 0x10 or 0x14 should do the trick. 0x10, however, is the
value already assigned to sc->sc_resources.mem_rid in iavc_pci.c, so I
tried 0x14, but got the same failure, "iavc0: can't allocate memory
region".   :(
Anything else I could try?
You could try cheating and assign 0xdf004000 to BAR 0x10 and then memory 
mapping the address your self (just like bus space would have).

--
Chuck Tuffli
Agilent Technologies




More information about the Users mailing list