mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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:
parent
9114579d7a
commit
2aea9e28cb
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue