From owner-cvs-all Sun Mar 9 18:18:28 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 24BA137B401; Sun, 9 Mar 2003 18:18:26 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF82643F93; Sun, 9 Mar 2003 18:18:25 -0800 (PST) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h2A2IP0U012528; Sun, 9 Mar 2003 18:18:25 -0800 (PST) (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h2A2IPRE012527; Sun, 9 Mar 2003 18:18:25 -0800 (PST) Message-Id: <200303100218.h2A2IPRE012527@repoman.freebsd.org> From: Warner Losh Date: Sun, 9 Mar 2003 18:18:25 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_conf.c X-FreeBSD-CVS-Branch: RELENG_4 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG imp 2003/03/09 18:18:25 PST FreeBSD src repository Modified files: (Branch: RELENG_4) sys/kern kern_conf.c Log: MFC: If d_foo == NULL, then set it to nofoo. This makes a few checks in the tree like (sc->d_foo != NULL) sc->d_foo(...); obsolete. Given the lateness of the hour before the release, those are not cleaned up. This allows one to more easily share drivers between branches since you can use the c99 initializers .d_foo = drv_foo; w/o the need to have explicit nofoo entries. No version bump is done on -stable since I'm piggy backing on the release version bump because we are so close. Again, minimal change. This has booted on a couple of test machines, and it appears safe. Approved by: re@ (jhb) Revision Changes Path 1.73.2.3 +29 -0 src/sys/kern/kern_conf.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message