History log of /freebsd/usr.sbin/config/config.y (Results 51 – 75 of 200)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# acd58322 03-Nov-2005 Ruslan Ermilov <ru@FreeBSD.org>

Implement the "nocpu" directive.

Requested by: rwatson


Revision tags: release/6.0.0_cvs, release/6.0.0
# dfdbf9be 27-Oct-2005 John Baldwin <jhb@FreeBSD.org>

Optionally include a DEFAULTS config file if it is present in the current
directory before the specified config file. This is implemented by
opening DEFAULTS as stdin if it exists, and if so resetti

Optionally include a DEFAULTS config file if it is present in the current
directory before the specified config file. This is implemented by
opening DEFAULTS as stdin if it exists, and if so resetting stdin to the
actual config file when DEFAULTS is fully parsed via yywrap(). In short,
this lets us create DEFAULTS kernel configs in /sys/<arch>/conf that can
enable certain options or devices by default and allow users to disable
them via 'nooptions' or 'nodevice' rather than having to create kludge
NO_FOO options.

Requested by: scottl
Reviewed by: scottl

show more ...


Revision tags: release/5.4.0_cvs, release/5.4.0
# 51c1297a 02-Apr-2005 Warner Losh <imp@FreeBSD.org>

Allow one to specify a second parameter to the machine line. This
allows us to specify the machine_arch as well as machine. If
specified then a second link will be made, similar to machine, from
$M

Allow one to specify a second parameter to the machine line. This
allows us to specify the machine_arch as well as machine. If
specified then a second link will be made, similar to machine, from
$MACHINE_ARCH to $S/$MACHINE_ARCH/include.

This is for ports where MACHINE != MACHINE_ARCH (pc98 today, others in
the future?).

Reviewed by: arch@, nyan@

show more ...


Revision tags: release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0
# 30fdf276 24-Oct-2004 Dag-Erling Smørgrav <des@FreeBSD.org>

Allow multiple devices to be specified on one device / nodevice line.
Also allow "device" / "nodevice" to be spelled "devices" / "nodevices".

MFC after: 2 weeks


# f37a929c 31-Aug-2004 Peter Wemm <peter@FreeBSD.org>

Kill count device support from config. I've changed the last few
remaining consumers to have the count passed as an option. This is
i4b, pc98/wdc, and coda.

Bump configvers.h from 500013 to 600000

Kill count device support from config. I've changed the last few
remaining consumers to have the count passed as an option. This is
i4b, pc98/wdc, and coda.

Bump configvers.h from 500013 to 600000.

Remove heuristics that tried to parse "device ed5" as 5 units of the ed
device. This broke things like the snd_emu10k1 device, which required
quotes to make it parse right. The no-longer-needed quotes have been
removed from NOTES, GENERIC etc. eg, I've removed the quotes from:
device snd_maestro
device "snd_maestro3"
device snd_mss

I believe everything will still compile and work after this.

show more ...


Revision tags: release/4.10.0_cvs, release/4.10.0
# 43a903c0 10-May-2004 Olivier Houchard <cognet@FreeBSD.org>

Add a new "files" directive, which allows to include a files.foo file directly
from a kernel config file.
Bump config version to reflect this change.


Revision tags: release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0
# e3937b62 14-Nov-2003 Bruce Evans <bde@FreeBSD.org>

Fixed spurious syntax errors for including files that don't begin with
a SEMICOLON token (a newline or semicolon, or one of these preceded
by a comment and/or whitespace). The input stream was switc

Fixed spurious syntax errors for including files that don't begin with
a SEMICOLON token (a newline or semicolon, or one of these preceded
by a comment and/or whitespace). The input stream was switched too
early and the parser was expecting a SEMICOLON in the included file
instead of after the filename in the include directive.

Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>
Kept alive by: Adam C. Migus <adam@migus.org>

show more ...


Revision tags: release/4.9.0_cvs, release/4.9.0
# 1949e955 06-Jul-2003 Joseph Koshy <jkoshy@FreeBSD.org>

Disallow multiple 'machine' directives in a kernel configuration
file.

Reviewed by: ru, bde


Revision tags: release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0
# 82401849 27-Feb-2003 Ruslan Ermilov <ru@FreeBSD.org>

Implemented "nooption" and "nomakeoption" config(8) tokens.
Fixed memory leak in the "nodevice" option implementation.

Use these instead of sed(1) in MD NOTES.

Use a single makefile (sys/conf/makeL

Implemented "nooption" and "nomakeoption" config(8) tokens.
Fixed memory leak in the "nodevice" option implementation.

Use these instead of sed(1) in MD NOTES.

Use a single makefile (sys/conf/makeLINT.mk) to generate
LINT for all architectures. (Previous versions missed
the LINT dependency on Makefile, and i386 version also
missed the dependency on ${NOTES}.)

Fixed bugs in the previous NOTES conversion using the
"nodevice" token and sed(1):

- i386 LINT lost "device pst".

- pc98 LINT lost SC_*, MAXCONS and KBD_DISABLE_KEYMAP_LOAD
options, and got needless DPT_* options.

- Added nooptions PPC_DEBUG, PPC_PROBE_CHIPSET, KBD_INSTALL_CDEV
to sparc64 LINT so that it has a chance to config(8).

This basically returns us to where we were before.

show more ...


# e20f30f7 22-Feb-2003 Ruslan Ermilov <ru@FreeBSD.org>

Allow for boolean make options (``makeoptions NO_MODULES'').
Fixed the potential bug in rmopt().


# 0b56eafd 15-Feb-2003 Ruslan Ermilov <ru@FreeBSD.org>

Implemented a simple "nodevice" config(8) command that cancels
the effect of the "device" command, and use it to generate the
OLDCARD from GENERIC.

Suggested by: bde


# 292dd8a8 15-Feb-2003 Ruslan Ermilov <ru@FreeBSD.org>

Convert to using <sys/queue.h> macros.


Revision tags: release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs, release/4.5.0_cvs, release/4.4.0_cvs
# 76cb0cad 27-Aug-2001 Peter Wemm <peter@FreeBSD.org>

Enable hardwiring of things like tunables from embedded enironments
that do not start from loader(8).


# 5e06480c 12-Jul-2001 Dima Dorfman <dd@FreeBSD.org>

Introduce an "include" directive. It takes one argument, a filename
to be included into this one. This works the same way as #include
does in C; as far as the user is concerned, the included file i

Introduce an "include" directive. It takes one argument, a filename
to be included into this one. This works the same way as #include
does in C; as far as the user is concerned, the included file is
inlined into the current one.

Since config(8) is no longer limited to working on one user-supplied
file, printing just a line number in an error message is not
sufficient. The new global variable yyfile represents the file
currently being parsed, and must be printed as well.

Reviewed by: imp
Obtained from: OpenBSD

show more ...


Revision tags: release/4.3.0_cvs, release/4.3.0
# a9973e4a 22-Feb-2001 Peter Wemm <peter@FreeBSD.org>

Futher cleanups. Since we have two options lists, one for proper options
and one for Makefile options, pass in the list head and use a common
newopt() routine.
Fix the 'config vmunix' support glue wh

Futher cleanups. Since we have two options lists, one for proper options
and one for Makefile options, pass in the list head and use a common
newopt() routine.
Fix the 'config vmunix' support glue which was broken for a few minutes.

show more ...


# 2db1cff1 22-Feb-2001 Peter Wemm <peter@FreeBSD.org>

Collect together a handful of copies of the option generator code into a
single newopt(char *name, char *value) function. Change newdev() to
do the same thing rather than depending on the evil 'cur'

Collect together a handful of copies of the option generator code into a
single newopt(char *name, char *value) function. Change newdev() to
do the same thing rather than depending on the evil 'cur' device hack.

show more ...


# 68f4fced 19-Feb-2001 Peter Wemm <peter@FreeBSD.org>

${BDECFLAGS} work. And fix a real error in the process. A "MAXUSERS"
string could have been passed to free(); There are some warnings here
I am not sure how to fix as they are in the lex scanner c

${BDECFLAGS} work. And fix a real error in the process. A "MAXUSERS"
string could have been passed to free(); There are some warnings here
I am not sure how to fix as they are in the lex scanner code, etc.

show more ...


# 3b10a240 04-Feb-2001 Peter Wemm <peter@FreeBSD.org>

Remove the need to list each and every cpu platform. Config will now
take your word for the 'machine' switch.


# 246449f3 31-Jan-2001 Peter Wemm <peter@FreeBSD.org>

Unwind a bit more cruft - we only have one type of device now.


# 9abfa9d1 22-Jan-2001 Benno Rice <benno@FreeBSD.org>

Add support for configuring PowerPC kernels.

Reviewed by: peter


# b8e39fd1 22-Jan-2001 Peter Wemm <peter@FreeBSD.org>

Clean up some obsolete stuff. config -r has not been needed since around
FreeBSD 3.x or so when the 'make depend' picked up the opt_foo.h files.
Convert warnings into actual errors in the hope that

Clean up some obsolete stuff. config -r has not been needed since around
FreeBSD 3.x or so when the 'make depend' picked up the opt_foo.h files.
Convert warnings into actual errors in the hope that buildkernel users
will pay more attention. :-(

show more ...


# 10ca19cf 19-Jan-2001 Peter Wemm <peter@FreeBSD.org>

Implement option strings that we can use in #ifdefs (where unavoidable)
as a replacement for the evil #define NFOO. If 'device npx' is in the
static kernel, a synthetic option '#define DEV_NPX 1' wi

Implement option strings that we can use in #ifdefs (where unavoidable)
as a replacement for the evil #define NFOO. If 'device npx' is in the
static kernel, a synthetic option '#define DEV_NPX 1' will be available
to stick in an opt_xxx.h file. "#if NNPX > 0" can be replaced with
"#ifdef DEV_NPX" and we can get rid of the overloaded meaning of the
device count mechanism.

show more ...


Revision tags: release/4.2.0
# 41291607 14-Oct-2000 Poul-Henning Kamp <phk@FreeBSD.org>

Make it possible to specify profiling in the kernel config file.

Do so for LINT.


# 918c9eec 29-Sep-2000 Doug Rabson <dfr@FreeBSD.org>

Add ia64 support.


Revision tags: release/4.1.1_cvs
# 596feda5 25-Aug-2000 Peter Wemm <peter@FreeBSD.org>

If a ${KERNEL}.hints file exists, and no hints are specified explicitly,
then include the hints with a marker indicating that it is a fallback.
The kernel side of this is to come shortly.


12345678