mirror of
https://git.FreeBSD.org/src.git
synced 2025-02-08 21:48:17 +00:00
Sorry, I forgot to test "iosize auto" before merging "iosize" patch.
This commit is contained in:
parent
6886e4d9be
commit
1b19dea47d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=49009
@ -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…
x
Reference in New Issue
Block a user