Re: pccardd and mapping memory descriptors

2000-02-20 Thread Warner Losh
In message <[EMAIL PROTECTED]> [EMAIL PROTECTED] writes: : I believe setting MEM_ASSIGNED is the proper fix and attached is the : one line patch. This looks goo.d : PS: anybody know why cardaddr is set to 16k? No. I have no clue Maybe a kludge left over from an old card? Warner To Unsu

pccardd and mapping memory descriptors

2000-02-18 Thread tbuswell
Hi, I'm writing a driver that talks to a card that has some SRAM. In the driver I'm trying to get a handle to the memory by doing the following: rid = 0; sc->mem = bus_alloc_resource(dev, SYS_RES_MEMORY, &rid, 0ul, ~0ul, 0, RF_ACTIVE); which fails.