Date: Sun, 9 Mar 2003 18:18:25 -0800 (PST) From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_conf.c Message-ID: <200303100218.h2A2IPRE012527@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303100218.h2A2IPRE012527>
