summaryrefslogtreecommitdiffstats
path: root/usr.sbin/config
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Print negative values only for two cases usedache1997-03-251-3/+3
| | | | | in config for iobase: -1 (auto) and -2 (none) Other values are printed as big port numbers
* Fix iobase printing for autodetect and none casesache1997-03-251-1/+3
| | | | (negative numbers was printed as very big ports)
* Sweep through the tree fixing mmap() usage:alex1997-01-161-4/+4
| | | | | | | | | | | | - Use MAP_FAILED instead of the constant -1 to indicate failure (required by POSIX). - Removed flag arguments of '0' (required by POSIX). - Fixed code which expected an error return of 0. - Fixed code which thought any address with the high bit set was an error. - Check for failure where no checks were present. Discussed with: bde
* Tidy up the generated config.c file. Use #include "opt_config.h", commentpeter1996-12-261-2/+4
| | | | | out text after #endif line, add missing \n at end of file, only install new config.c if it's different to the last one which preserves the timestamp.
* Part #2 of the config cleanup. More aggressive, replaced an NIHjoerg1996-12-145-38/+31
| | | | | | | | | | version of strdup() by a macro, killed many calls to strdup(), thus potentially wasting less malloc'ed space (their args were never be free()ed desptie despite of being malloc'ed). Probably still a huge memory leak at all... Also killed two totally useless variables. I've tested it as i could, but wouldn't be surprised if unexpected problems showed up. So watch out this space!
* Round #1 of cleaning up the config(8) mess. This is only the morejoerg1996-12-143-15/+14
| | | | | | | conservative part of the tidyup, like fixing potential buffer overflow conditions. It is believed to be safe to go into 2.2. Pointed out by: lozenko@cc.acnit.ac.ru (Evgeny A. Lozenko)
* Moved nonstandard compiler profiling options out of config. Just printbde1996-12-131-6/+4
| | | | | | | | the profiling level in config and decide what to do in makefiles. Makefile.i386: Align functions to 16-byte boundaries if profiling is enabled. This will allow a fourfold reduction in the size of the profiling buffers.
* Bugfix: all device counts >= 256 was broken, they truncated by % 255ache1996-08-211-1/+1
| | | | | because of u_char count field size. It hits when device header file already present.
* Bring back the `config file in the kernel' feature from the 1.x days. Thisjkh1996-06-082-0/+45
| | | | | | | is conditionalized by the INCLUDE_CONFIG_FILE option in your kernel config file and is not turned on by default. Submitted-By: Bill Pechter <pechter@shell.monmouth.com>
* Backout yacc changes.phk1996-06-029-9/+9
|
* yacc rule changes.phk1996-05-309-9/+9
|
* Implemented a new keyword `disable'. This should be useful for controllingbde1996-04-134-11/+20
| | | | | | | | dangerous drivers in GENERIC. Removed non-comments on #endifs in config.y. Improved output formatting in mkioconf.c.
* Count PCI irqs in up to 4 ISAish counters named `pci irqnn' instead ofbde1996-03-292-2/+6
| | | | | | in the clk0 counter. Reviewed by: se
* Make a little more effort to avoid touching certain generated files ifpeter1996-01-126-11/+84
| | | | they were not changed. This makes 'make depend' more useful.
* Changed the default/min/max number of users to 8/2/512 for all machinedg1995-12-291-8/+8
| | | | types. This is closer to the reality of reasonable values.
* Implemented non-statistical kernel profiling. This is based onbde1995-12-292-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | looking at a high resolution clock for each of the following events: function call, function return, interrupt entry, interrupt exit, and interesting branches. The differences between the times of these events are added at appropriate places in a ordinary histogram (as if very fast statistical profiling sampled the pc at those places) so that ordinary gprof can be used to analyze the times. gmon.h: Histogram counters need to be 4 bytes for microsecond resolutions. They will need to be larger for the 586 clock. The comments were vax-centric and wrong even on vaxes. Does anyone disagree? gprof4.c: The standard gprof should support counters of all integral sizes and the size of the counter should be in the gmon header. This hack will do until then. (Use gprof4 -u to examine the results of non-statistical profiling.) config/*: Non-statistical profiling is configured with `config -pp'. `config -p' still gives ordinary profiling. kgmon/*: Non-statistical profiling is enabled with `kgmon -B'. `kgmon -b' still enables ordinary profiling (and distables non-statistical profiling) if non-statistical profiling is configured.
* Implement support for conf/options and i386/conf/options.i386peter1995-12-119-8/+393
| | | | | | | | | | | | | | | | | | | | | | | Note that this code is dormant unless the options files exist. Also, parsing of quoted options in the config files is improved. What this allows, is all the options in LINT to be specified to be configured as #defines in a file rather than on the CC command line at kernel build time. This means that 'make depend' will catch dependencies on actual *options*, meaning that you can run 'config' and 'make depend' in complete safety WITHOUT removing the compile directory each time. Unfortunately, this requires a pass over the source to get the individual files to #include the new .h files that would be generated by config. This has a small compile time penalty (appears up to about 2% slower) from a "fresh" build. Of course, you should not be needing to do complete rebuilds very often once this was completed, so it would be an overall win for most people. Since this code is dormant and we've got a lot of other things happening on the kernel tree at the moment (prototypes, devfs, static declarations etc) I am not planning on doing any changes to activate this feature just yet.
* If CONFIG_NO_CLOBBER_EVER is defined (e.g., in /etc/make.conf), don't makewollman1995-11-282-0/+5
| | | | | it possible for config to ever blow away a work directory. Default behavior remains broken.
OpenPOWER on IntegriCloud