Sorry, I forgot to test "iosize auto" before merging "iosize" patch.

This commit is contained in:
Tatsumi Hosokawa 1999-07-23 02:01:19 +00:00
parent 6886e4d9be
commit 1b19dea47d

View File

@ -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.