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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=49009

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.