]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Instead of using the next unit available, use the first unit available.
authorn_hibma <n_hibma@FreeBSD.org>
Thu, 16 Mar 2000 09:32:59 +0000 (09:32 +0000)
committern_hibma <n_hibma@FreeBSD.org>
Thu, 16 Mar 2000 09:32:59 +0000 (09:32 +0000)
commit7cb4860e818f92c566840532cf9cb975148d7cca
tree928f45242121f0567968ed8d79f8ef610ffbaded
parent5c1a46084c3e3ce12aa997a78029d705ae6b3c9e
Instead of using the next unit available, use the first unit available.
This avoids the unit number from going up indefinitely when
diconnecting and connecting 2 devices alternately.

Noticed by: nsayer (quite a while ago)

And stop calling DEVICE_NOMATCH at probe repeatedly. This stops the
message on the PCI VGA board from being printed when loading a PCI driver.
sys/kern/subr_bus.c
sys/sys/bus_private.h