From owner-cvs-all Thu Mar 16 1:33: 4 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 D2E8037BF40; Thu, 16 Mar 2000 01:33:01 -0800 (PST) (envelope-from n_hibma@FreeBSD.org) Received: (from n_hibma@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id BAA77803; Thu, 16 Mar 2000 01:33:01 -0800 (PST) (envelope-from n_hibma@FreeBSD.org) Message-Id: <200003160933.BAA77803@freefall.freebsd.org> From: Nick Hibma Date: Thu, 16 Mar 2000 01:33:01 -0800 (PST) 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/03/16 01:33:01 PST Modified files: sys/kern subr_bus.c sys/sys bus_private.h Log: 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. Revision Changes Path 1.55 +21 -14 src/sys/kern/subr_bus.c 1.12 +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