Stop device enumeration when we see first empty slot.
commit22740a9120e19a52ed66c53b7f37749b5132535a
authorbr <br@FreeBSD.org>
Thu, 11 Feb 2016 11:21:45 +0000 (11 11:21 +0000)
committerbr <br@FreeBSD.org>
Thu, 11 Feb 2016 11:21:45 +0000 (11 11:21 +0000)
treeafa73f72d5ad938158891c431b326c778aecbcb1
parent36dd28d18c58d2fb7140045cad5e28ff34a299b2
Stop device enumeration when we see first empty slot.
This fixes operation in QEMU and saves some booting time as well.

Pointed out by: Sagar Karandikar <skarandikar@berkeley.edu>
Sponsored by: DARPA, AFRL
Sponsored by: HEIF5
sys/riscv/htif/htif.c