mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Sorry, I forgot to test "iosize auto" before merging "iosize" patch.
This commit is contained in:
parent
6886e4d9be
commit
1b19dea47d
1 changed files with 9 additions and 0 deletions
|
|
@ -398,6 +398,15 @@ assign_io(struct slot *sp)
|
|||
if (!cisconf->iospace)
|
||||
cp = defconf;
|
||||
iosize = sp->card->iosize;
|
||||
|
||||
/* iosize auto */
|
||||
if (iosize < 0) {
|
||||
if (cp->io)
|
||||
iosize = cp->io->size;
|
||||
else
|
||||
iosize = 1 << cp->io_addr;
|
||||
}
|
||||
|
||||
/*
|
||||
* If # of I/O lines decoded == 10, then card does its
|
||||
* own decoding.
|
||||
|
|
|
|||
Loading…
Reference in a new issue