DragonFly users List (threaded) for 2005-01
Re: bus_alloc_resource fails for AVM ISDN B1 card
Joerg Anslik wrote:
found-> vendor=0x1244, dev=0x0700, revid=0x00
bus=1, slot=6, func=0
class=02-80-00, hdrtype=0x00, mfdev=0
map: type 1, range 32, base 00009800, size 8
map: 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
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
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).