summaryrefslogtreecommitdiffstats
path: root/usr.sbin/config
Commit message (Collapse)AuthorAgeFilesLines
* $Id$ -> $FreeBSD$peter1999-08-288-8/+8
|
* Fix a bunch of broken cross-referenceschris1999-08-181-2/+2
|
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-121-0/+1
| | | | | | | | | | | | | | | | | track. The Id line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde
* Delete special handling for 'device-driver' suffix, it's not used inpeter1999-07-032-13/+12
| | | | the kernel source now.
* Don't include trailing whitespace in ID tokens before comments. ie:peter1999-07-011-1/+2
| | | | | | | | options FOO=10 # comment would give FOO the value of "10 " and that caused unwanted touches on the opt_*.h files. I hope I've got this right..
* Detect and remove defunct or unknown options from opt_*.h files. Thispeter1999-07-011-11/+23
| | | | can happen when options are removed from the options files.
* Check and warn about unknown devices in the config file along the samepeter1999-06-031-2/+12
| | | | | lines as the pseudo-device checking. Previously 'device xyz0' would have been silently accepted without comment.
* Understand 'config kernelname' and pretend it was apeter1999-05-102-0/+29
| | | | | | 'makeoptions KERNEL=kernelname'. Warn about any trailing stuff as it's not handled here. This is a simple bandaid, hopefully to head off some complaints from certain people.
* Put on my viking helmet from the closet, and get out the war axe andpeter1999-05-097-227/+12
| | | | "retire" some more stuff.
* We don't have composite devices here either.peter1999-05-091-18/+2
|
* config(8) lobotomy, please see commit msg in sys.phk1999-05-097-614/+45
| | | | (I have no idea why cvs didn't take these changes before.)
* Make options like NO_F00F_HACK work (with context sensitive lexical rules).luoqi1999-04-272-30/+45
|
* Bump configvers; when the updates to generic/lint get committed, the oldpeter1999-04-241-2/+2
| | | | config has severe indigestion.
* More cleanups, tweaks and features.peter1999-04-248-219/+86
| | | | | | | | | | - make this work: options FOO123=456 *without quotes* - grumble (but accept) vector xxxintr, and tty/net/bio/cam flags. - complain if a device is specified twice (eg: 2 x psm0) - don't require quotes around: port IO_COM2 - recognize negative numbers. (ie: options CAM_DEBUG_UNIT=-1) - GC some more unused stuff (we don't have composite disks from config(8)). - various other nits (snprintf paranoia etc)
* The Alpha probably wouldn't appreciate getting the pc98 isa portpeter1999-04-191-4/+4
| | | | definitions. Change it from machine != I386 to machine == PC98.
* Slightly reorder the all: to make sure it's before any alternate kernelpeter1999-04-191-6/+6
| | | | names for debugging etc. all: should now always be the first target.
* Use pc98/pc98/pc98.h instead of isa/isareg.h in PC98 kernel.kato1999-04-181-2/+5
| | | | Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
* Further cleanups. i386_ioconf.c and alpha_ioconf.c were essentially thepeter1999-04-189-148/+56
| | | | | same and were merged into a single newbus_ioconf.c. CG'd some more unused code.
* Get out the blow torch and hack away all the unused stuff. Note thatpeter1999-04-1712-1832/+144
| | | | | | I zapped the MACHINE_MIPS stuff, it isn't likely to be useful apart from recognition of the machine name. It would be reasonable to expect new ports would look something like the alpha/i386 from a config perspective.
* Corresponding minimal changes for kernel configuration after new-buspeter1999-04-163-105/+131
| | | | commit.
* Made booting with -a work for all configurations. Previously itbde1999-04-153-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | only worked for configurations with "swap on generic". usr.sbin/config/config.y: - ignore all "swap [on] device ...' specifications except for warning about them. They haven't done anything related to swap for almost 4 years, and were previously silently ignored, except for "swap on generic" which stopped swap${KERNEL}.c from being generated. Code to support swapping is now deader than before. usr.sbin/config/mkswapconf.c: - don't generate a dummy setconf() function in swap${KERNEL}.c. sys/i386/conf/files.i386: - swapgeneric.c is now standard. It should be merged into autoconf.c so that it doesn't conflict with swap${KERNEL}.c for kernels named "generic". sys/i386/i386/autoconf.c: - don't call setroot() for mfs roots. Since setroot() doesn't do anything harmful, this was just a waste of time, except possibly for booting with -a it may have helped prevent an undesireable call to setconf() by finding a bogus rootdev. - honor -a for ffs roots. -a now overrides all other ways of specifying the root device. Previously, -r had precedence over -a, and the -a handling was usually a no-op. - don't honor -a for non-ffs roots, since it would currently just get in the way of a clean panic. sys/i386/i386/swapgeneric.c: - don't declare things that are now always declared in swap${KERNEL}.c. Don't decide things that are now decided in autoconf.c. Code to support the "generic" case is now dead instead of useless.
* Clean up the -g/DEBUG handling. This logic can go in the Makefilepeter1999-04-133-30/+8
| | | | so that config -g can work the same as: makeoptions DEBUG="-g"
* Back out default debug kernel. The flags revert to historical behaviour.grog1999-04-113-52/+60
| | | | | | | | | | | | | | | Requested-by: ache bde dg Modify targets for debug kernels: when -g was specified, make will now build a debug kernel called kernel.debug, and create a stripped version called kernel at the same time. The two targets install and install.debug are otherwise unchanged. Requested-by: dillon Update man page accordingly.
* add -s to usageache1999-04-101-2/+2
| | | | | PR: 11056 Submitted by: Nickolay N. Dudorov <nnd@mail.nsk.ru>
* add -s to synopsisache1999-04-101-1/+1
|
* 1. Modify config to issue different code for debugging.grog1999-04-072-4/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2. Config complains if you use -g: Debugging is enabled by default, there is no ned to specify the -g option 3. Config warns you if you don't use -s: Building kernel with full debugging symbols. Do "config -s BSD" for historic partial symbolic support. To install the debugging kernel, do make install.debug (BSD was the name of the config file I used; I print out the same name). 4. Modify Makefile.i386, Makefile.alpha, Makefile.pc98 and config to work if a kernel name other than 'kernel' is specified. This is not absolutely necessary, but useful, and it was relatively easy. I now have a kernel called /crapshit :-) 5. Modify Makefile.i386, Makefile.alpha, Makefile.pc98 "clean" target to remove both the debug and normal kernel. 6. Modify all to install the stripped kernel by default and the debug kernel if you enter "make install.debug". 7. Update version number of Makefiles and config.
* 1. Modify config to issue different code for debugging.grog1999-04-072-6/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2. Config complains if you use -g: Debugging is enabled by default, there is no ned to specify the -g option 3. Config warns you if you don't use -s: Building kernel with full debugging symbols. Do "config -s BSD" for historic partial symbolic support. To install the debugging kernel, do make install.debug (BSD was the name of the config file I used; I print out the same name). 4. Modify Makefile.i386, Makefile.alpha, Makefile.pc98 and config to work if a kernel name other than 'kernel' is specified. This is not absolutely necessary, but useful, and it was relatively easy. I now have a kernel called /crapshit :-) 5. Modify Makefile.i386, Makefile.alpha, Makefile.pc98 "clean" target to remove both the debug and normal kernel. 6. Modify all to install the stripped kernel by default and the debug kernel if you enter "make install.debug". 7. Update version number of Makefiles and config.
* 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.
OpenPOWER on IntegriCloud