From owner-cvs-all Sun May 7 13:26:58 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id D5DD737BCA3; Sun, 7 May 2000 13:26:51 -0700 (PDT) (envelope-from n_hibma@FreeBSD.org) Received: (from n_hibma@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id NAA28387; Sun, 7 May 2000 13:26:51 -0700 (PDT) (envelope-from n_hibma@FreeBSD.org) Message-Id: <200005072026.NAA28387@freefall.freebsd.org> From: Nick Hibma Date: Sun, 7 May 2000 13:26:51 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern subr_bus.c src/sys/sys bus_private.h Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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