When setting up an iomem resources, remember to set the MEM_ASSIGNED bit

so that pccardd actually does something to set up the memory range.
This commit is contained in:
Bill Paul 2000-05-09 22:01:16 +00:00
parent 9114579d7a
commit 2aea9e28cb

View file

@ -528,6 +528,7 @@ assign_io(struct slot *sp)
sp->config->driver->mem = sp->mem.addr;
}
sp->mem.cardaddr = 0x4000;
sp->flags |= MEM_ASSIGNED;
if (debug_level > 0) {
logmsg("Using mem addr 0x%x, size %d, card addr 0x%x\n",
sp->mem.addr, sp->mem.size, sp->mem.cardaddr);