Date: Mon, 6 Nov 1995 10:03:37 +1030 (CST) From: Michael Smith <msmith@atrad.adelaide.edu.au> To: joerg_wunsch@uriah.heep.sax.de Cc: freebsd-hackers@freebsd.org Subject: Re: More nits Message-ID: <199511052333.KAA28983@genesis.atrad.adelaide.edu.au> In-Reply-To: <199511050846.JAA07912@uriah.heep.sax.de> from "J Wunsch" at Nov 5, 95 09:46:49 am
next in thread | previous in thread | raw e-mail | index | archive | help
J Wunsch stands accused of saying:
>
> As Michael Smith wrote:
> >
> > Just to point out that detaching userconfig() would be _very_ simple; if
> > anyone wants diffs to add a NOUSERCONFIG option I'll happily produce them.
>
> Nope, make it the other way round: options USERCONFIG, but we include
> the keyword into the default kernel config files. This is IMHO more
> consisten with current schemes.
Ok, to implement this, bracket the entirety of /sys/i386/i386/userconfig.c
with #ifdef USERCONFIG/#endif, and then apply this to
/sys/i386/i386/machdep.c :
--- /sys/i386/i386/machdep.c Thu Oct 26 00:18:46 1995
+++ ./machdep.c Mon Nov 6 10:01:10 1995
@@ -374,8 +374,10 @@
for (i = 1; i < ncallout; i++)
callout[i-1].c_next = &callout[i];
+#ifdef USERCONFIG
if (boothowto & RB_CONFIG)
userconfig();
+#endif
#ifdef BOUNCE_BUFFERS
/*
--
]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[
]] Genesis Software genesis@atrad.adelaide.edu.au [[
]] High-speed data acquisition and [[
]] realtime instrument control (ph/fax) +61-8-267-3039 [[
]] My car has "demand start" -Terry Lambert UNIX: live FreeBSD or die! [[
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511052333.KAA28983>
