Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Nov 1995 12:44:37 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        msmith@atrad.adelaide.edu.au (Michael Smith)
Cc:        joerg_wunsch@uriah.heep.sax.de, freebsd-hackers@FreeBSD.ORG
Subject:   Re: More nits
Message-ID:  <199511061944.MAA15687@phaeton.artisoft.com>
In-Reply-To: <199511052333.KAA28983@genesis.atrad.adelaide.edu.au> from "Michael Smith" at Nov 6, 95 10:03:37 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,

Uh, don't you mean change the /sys/i386/conf/files.i386 line:

i386/i386/userconfig.c          standard   

To:

i386/i386/userconfig.c          optional	userconfig

???

> 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
>         /*


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511061944.MAA15687>