Sorry, I forgot to test "iosize auto" before merging "iosize" patch.
This commit is contained in:
parent
6886e4d9be
commit
1b19dea47d
@ -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 New Issue
Block a user