Date: Sun, 7 May 2000 13:26:51 -0700 (PDT) From: Nick Hibma <n_hibma@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern subr_bus.c src/sys/sys bus_private.h Message-ID: <200005072026.NAA28387@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
n_hibma 2000/05/07 13:26:51 PDT Modified files: (Branch: RELENG_4) sys/kern subr_bus.c sys/sys bus_private.h Log: MFC: If selecting a new unit number for a new device, don't pick the first free one at the end of the list, use the first free one in the list. This avoids ever increasing unit numbers. Also, call BUS_NOMATCH only once, at boot. Avoids the unneeded claiming of devices by chip whenever a PCI module is loaded. Revision Changes Path 1.54.2.1 +21 -14 src/sys/kern/subr_bus.c 1.11.2.1 +2 -2 src/sys/sys/bus_private.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005072026.NAA28387>