summaryrefslogtreecommitdiffstats
path: root/usr.sbin/config
Commit message (Collapse)AuthorAgeFilesLines
* Oops, really don't generate compiler warnings about missing braces.bde1999-02-051-3/+3
|
* Don't generate compiler warnings about missing braces.bde1999-02-051-3/+3
|
* Fix the handling of certain devices.markm1999-02-041-3/+9
| | | | | | | | | | | | | | | Previously the foolowing lines would have broken: controller fdc0 at isa? disable port ? bio controller fdc0 at isa? disable port 0x100 bio While this would work: controller fdc0 at isa? disable port "IO_FD1" bio The first of the three lines is useful for making placeholder devices for PCMCIA-floppies, and the second is useful for non-standard hardware. The failure is a "(null)" string in ioconf.c that the compiler pukes on. Thanks to: Bruce Evans (bde@freebsd.org)
* Eliminate compiler warning when compiling "config.c" in a kernel.archie1998-12-101-2/+2
|
* * Change 'struct resource' to 'struct config_resource'.dfr1998-11-152-4/+4
| | | | * Bump config version.
* Ignore `vector xxxintr' specifications except for checking their syntax.bde1998-10-232-28/+9
| | | | | | | | | | | Interrupt handlers are now configured in drivers. Didn't update config/SMM.doc. It doesn't have any i386 examples (not even `isa'). Bumped CONFIGVERS. This is not necessary for -current yet, but using the new config with old system sources gives null pointers for all vectors.
* Removed unused/unusable "ha" keyword. Device classes should never havebde1998-10-161-2/+4
| | | | | | been visible here. Fixed disordering of keyword table by "cam".
* Don't generate unused file ioconf.h.bde1998-10-161-39/+6
| | | | | | | Didn't bump CONFIGVERS, since ioconf.h was already unused when CONFIGVERS was last bumped (although essentially the same (CAM) commit batch that bumped CONFIGVERS also added bogus includes of ioconf.h).
* Snip out some dead code from the alpha part.dfr1998-09-161-65/+1
|
* Bump config version. Also mention that even after rebuilding a newgibbs1998-09-152-3/+7
| | | | | config, you may need to resynchronize your config file with syntax or name changes documented in GENERIC or LINT.
* Build CAM hardwiring info.gibbs1998-09-151-70/+12
|
* add missing sys/queue.hache1998-09-041-1/+2
|
* Reviewed by: Doug Rabsonnsouch1998-09-034-6/+64
| | | | | | Submitted by: nsouch 'local' token added to support new bus architecture .c files generated by .m files.
* Dump out ISA device resources for alpha.dfr1998-07-211-1/+100
|
* Removed all traces of PARAM in Makefile.i386. Incremented CONFIGVERSbde1998-07-121-2/+2
| | | | | | | to reflect the dependency of Makefile.i386 on nothing being put in PARAM. Config versioning is too closely coupled with the Makefile.i386.
* Convert the maxusers directive to a normal MAXUSERS option (normallybde1998-07-122-49/+51
| | | | | | | | | | define MAXUSERS in opt_param.h as directed in /sys/conf/options; if it's not mentioned there, then define it in IDENT; never define it in PARAM). MAXUSERS probably should be a completely normal option. Don't define PARAM now that it is empty. Cleaned up similar conversion of cpu directives to XXX_CPU options.
* Warn about redefined options. Keep using the last value processed.bde1998-07-121-2/+8
| | | | | | Options are processed reverse file order, so the first definition in the config file wins (except for directives that are converted to option).
* Fixed off-by-1 errors in option line numbers. yyline is 0-based, butbde1998-07-121-2/+6
| | | | | | | was used as if it is 1-based. This happened to give the correct result for options without values because of a compensating error in newline lexing. Didn't fix the latter, so line numbers in yyerror() may still be 1 too high in some cases.
* MF22: more explanatory message from config on version mismatch detection.jkh1998-06-241-2/+5
|
* Don't generate declarations for isa device structs in "ioconf.h".bde1998-06-172-20/+7
| | | | | | | | | | Don't generate declarations for isa interrupt handlers at all. Isa interrupt handlers are now declared in <i386/isa/isa_device.h> but should be converted take a `void *' arg and staticized as soon as possible. Updated CONFIGVERS. New configs are very incompatible with previous versions.
* Add (mostly stub) alpha support. Incidentally, it doesn't build on stabledfr1998-06-096-4/+125
| | | | unless I manually construct y.tab.h. Is this normal?
* Backed out previous backout. Put y.tab.h back in SRCS.bde1998-05-061-4/+2
|
* Backed out previous commit. It was tested, but not for the case wherebde1998-05-051-3/+5
| | | | | a separate object tree doesn't exist. Crufty makefiles will have to put y.tab.h in SRCS so that we know not to create foo.h from foo.y.
* Fixed races in `make -jN' using new yacc rules.bde1998-05-041-5/+3
|
* Support PC-98 machine.kato1998-05-025-5/+15
|
* Don't generate code with syntax errors (hard newlines in string constantsbde1998-04-231-5/+5
| | | | in config.c).
* Scaffolding for High Availability code. The actual code will probablyeivind1998-04-024-2/+8
| | | | | | come tomorrow. Submitted by: Simon Shapiro <shimon@simon-shapiro.org>
* Add message when using obsolete command line option.eivind1998-03-161-1/+3
| | | | Suggested by: joerg
* Style & message change.eivind1998-03-161-13/+10
| | | | Submitted by: bde
* Fixed `make -jN' for large N, as usual.bde1998-03-061-1/+3
|
* Style police service brought to you by: bdeeivind1998-02-193-11/+7
|
* Re-introduce '-n' - now a no-op for backwards compatibility only.eivind1998-02-191-2/+5
| | | | Requested by: David Quattlebaum <sasdrq@unx.sas.com>
* Make '-n' the default, and introduce a new flag '-r' to get oldeivind1998-02-185-26/+33
| | | | | behaviour. Also indicate which option(s) are unknown if there are any old-style options.
* All our options are new-style now - enable the warning if unrecognizedeivind1998-02-091-3/+1
| | | | (that is, old-style) options are found.
* Fix incorrect format string detected by "-Wformat".jdp1997-11-181-2/+2
|
* Fix some breakage from my last set of changes.joerg1997-11-071-2/+2
| | | | | PR: bin/4892 Submitted by: Vasim Valejev <vasim@uddias.diaspro.com>
* Bump configvers to 300003 to account for the crd->card (and related)msmith1997-11-061-2/+2
| | | | namespace changes.
* Allow for a keyword in the "files" file named "mandatory". The firstjoerg1997-10-283-6/+31
| | | | | | | | candidate for this is "npx0", more are likely to follow. Check for pseudo-devices that are being configured, but don't appear in any "files" file. The ``pseudo-device bpf 2'' already hit me too often.
* For safety's sake, explicitly depend all objects on the configvers.h headerpeter1997-10-221-0/+2
| | | | | to make sure that it's all recompiled even if there is no 'make depend'. This is overkill, but should be one less thing that someone can do wrong.
* Recognize a %VERSREQ=nnnnn string in the system Makefile. Both config(8)peter1997-10-222-2/+22
| | | | | | | | | and the kernel will have a 'config interface version number'. If an incompatable change is made to the kernel that requires a rebuild of config(8) (such as the cam devtab stuff), then the version number would be bumped in both places. If a user neglects to rebuild config, then they will get a nagging (but non-fatal) warning that they need to rebuild config.
* Add isa_devtab_cam.gibbs1997-09-214-2/+8
|
* Wrap too long lines.charnier1997-09-172-5/+7
| | | | Requested by: Bruce.
* Police from style.9 and Bruce.charnier1997-09-161-3/+5
|
* Use err(3), add usage(). -Wall clean.charnier1997-09-1511-197/+265
|
* Oops, the previous commit shouldn't have touch the Makefile.bde1997-09-071-1/+1
|
* Don't say that swapping is configured by config.bde1997-09-072-4/+4
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-311-1/+1
| | | | posix standard on the topic.
* Reserve a placeholder for 4 SMP ipi interrupts in the same way thatpeter1997-03-292-2/+6
| | | | | | | it's done for pci. This is so that systat and vmstat can get at the interrupt counts for the Inter-Processor Interrupts when running a smp kernel. This doesn't affect the normal kernel, but makes life easier for the smp people who don't have to track two versions of config.
* Remove support for "port none" and "port auto", it gains nothing,ache1997-03-284-12/+2
| | | | | | non-standard and not used. "port auto" is equal to "port?" or missing "port" keyword now. "port none" is really probe routine task (return -1 for no ports).
* Add #define's for port "none" and "auto"ache1997-03-263-5/+7
| | | | Now port ommiting is equal to port "none" not to port 0
OpenPOWER on IntegriCloud