summaryrefslogtreecommitdiff
path: root/usr.sbin/config
Commit message (Collapse)AuthorAgeFilesLines
* Bring in Garrett's NO_CLOBBER_EVER change and Bruce's disabled keyword handling.Jordan K. Hubbard1996-07-106-5/+19
| | | | Notes: svn path=/stable/2.1/; revision=17056
* Teach config(8) about the od driver.Joerg Wunsch1996-06-081-1/+1
| | | | | | | Reviewed by: grog@lemis.de (Greg Lehey) Notes: svn path=/stable/2.1/; revision=16220
* Sync with main branch.David Greenman1995-10-061-1/+1
| | | | Notes: svn path=/stable/2.1/; revision=11266
* Brought in changes from main branch: Add ability to wire an scbus to aDavid Greenman1995-07-223-4/+15
| | | | | | | controller. Notes: svn path=/stable/2.1/; revision=9634
* Remove trailing whitespace.Rodney W. Grimes1995-05-304-10/+10
| | | | Notes: svn path=/head/; revision=8857
* Fix 3 printf's that had the wrong number of arguments.Rodney W. Grimes1995-05-141-3/+3
| | | | | | | Submitted by: gibbs Notes: svn path=/head/; revision=8520
* Updated to work with Poul-Henning's recent kernel changes in the swapDavid Greenman1995-05-141-12/+0
| | | | | | | | | | | device table layout...basically, don't output the cruft anymore - it is now dynamic. Reviewed by: John Dyson and David Greenman Submitted by: Poul-Henning Kamp Notes: svn path=/head/; revision=8506
* Don't automatically default dumps to be on a swap device; if the userGarrett Wollman1995-05-122-8/+9
| | | | | | | | wants dumps, he can either configure it explicitly (`dumps on' whatever) or use the dumpon(8) utility. Notes: svn path=/head/; revision=8480
* Revise this to actually print all the various isa_device field valuesJordan K. Hubbard1995-05-111-5/+5
| | | | | | | | | it really should have been printing all this time. Also fix my rather bogus handling of the id_conflicts value by moving it to the end of isa_device and dealing with that correctly now. Notes: svn path=/head/; revision=8450
* Add a new `conflicts' flag for telling when a device is in conflict withJordan K. Hubbard1995-05-114-4/+10
| | | | | | | | | | | | | | | others. The flag can be put in descriptive locations, e.g.: device sb0 at isa? port 0x220 irq 7 conflicts drq 1 vector sbintr or device psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr But is nonetheless boolean only. You can't turn conflict checking off for only a given type of conflict. I didn't deem it worth the trouble at this stage, and it's far better than the ALLOW_CONFLICT_* that preceeded it. Notes: svn path=/head/; revision=8432
* Change the perennially annoying reminder to "make depend" (which may orJordan K. Hubbard1995-05-031-1/+1
| | | | | | | | | | | may not be desired if you're just going to blow the kernel away again later) and substitute one that tells the user where the new kernel build directory actually IS, which can at least be argued to be useful information in all cases. Reviewed by: davidg Notes: svn path=/head/; revision=8248
* Change warning message for when a device is wired to a floatingPeter Dufault1995-03-071-3/+8
| | | | | | | | host adapter to something hopefully clearer. Take into account that "wnum()" writes into a static buffer in the warning. Notes: svn path=/head/; revision=6941
* Fixed bug with wiring down given SCSI bus.Peter Dufault1995-03-031-5/+5
| | | | Notes: svn path=/head/; revision=6860
* Added configuration for SCSI devices wired in place. The documentationPeter Dufault1995-03-014-1/+160
| | | | | | | is in "man 4 scsi". Notes: svn path=/head/; revision=6814
* Implement "clean" entries for device config entries.Justin T. Gibbs1995-03-012-20/+36
| | | | | | | Submitted by: Pointed out by Bruce Evans <bde@zeta.org.au> Notes: svn path=/head/; revision=6803
* Make good on my promise to finally clean up the config clobbering.Jordan K. Hubbard1995-02-223-17/+34
| | | | | | | | | | If you invoke config with the `-n' flag or have NO_CONFIG_CLOBBER in your environment, config will behave the same way it used to. This is now _documented_ as well. Rip out all the CONFIG_DONT_CLOBBER cruft; some of it wasn't even correct anyway. Notes: svn path=/head/; revision=6631
* Write setconf() in KNF, in K&R C, and in Standard C.Standard C.Bruce Evans1995-02-181-1/+1
| | | | Notes: svn path=/head/; revision=6550
* Do away with 'options SWAP_GENERIC' once and for all: I get illBill Paul1995-02-181-1/+3
| | | | | | | | | | | | | | | | | | | | | | just thinking about it. Two changes need to be made to allow 'config kernel swap generic' to work properly without requiring any compile-time flags: /usr/src/usr.sbin/config/mkswapconf.c: we need to define a dummy stub for the setconf() function to replace the one in swapgeneric.c that isn't available in non-generic configurations. /usr/src/sys/i386/i386/autoconf.c: the -a boot flag causes setroot() to be skipped and lets setconf() prompt the user for a root device. If you skip setroot() in a non-generic kernel, you could get severely hosed. To avoid this, we silently ignore the -a flag if rootdev != NODEV. (rootdev is always initialized to NODEV in swapgeneric.c, so if we find that rootdev is something other than NODEV, we know we're not using a generic configuration.) Notes: svn path=/head/; revision=6547
* config.y:Bruce Evans1995-02-162-27/+81
| | | | | | | | | | | | | | | | | | | Support slice numbers in device names. The syntax is `<driver name> [<unit number>] ['s' <slice number>] [<partition letter>]'. Only `['s' <slice number>]' is new here. The slice number defaults to 0 so that there is no change in the output from config if this new feature is not used. Replace some magic disk numbers by `dk' slice and label macros. mkswapconf.c: Improve the output formatting: Generate <> style includes. Print minor numbers in hex so that slice numbers are easy to see and edit. Print the rootdev and dumpdev names in comments like the swapdev names. Notes: svn path=/head/; revision=6497
* Always return null-terminated identifiers from yylex().Bruce Evans1995-02-161-2/+3
| | | | Notes: svn path=/head/; revision=6494
* Restore the field widths that were clobbered by the previous commit so thatBruce Evans1995-02-081-6/+6
| | | | | | | the columns in ioconf.c line up if there are no long names. Notes: svn path=/head/; revision=6244
* Removed the name length limitations on the device-driver names entirely.Poul-Henning Kamp1995-02-051-6/+6
| | | | | | | Now device-names can be more than 3 chars. Notes: svn path=/head/; revision=6205
* Fix Sharnoff complaint #121 (cross-reference to config.new which does notGarrett Wollman1995-01-141-2/+0
| | | | | | | exist on the i386 platform). Notes: svn path=/head/; revision=5613
* Allow config to fully handle the aic7770 driver dependancies.Justin T. Gibbs1994-12-312-3/+68
| | | | Notes: svn path=/head/; revision=5325
* Finish removing `#ifdef STATCLOCK'. Not removing it properly hereBruce Evans1994-12-061-9/+0
| | | | | | | | probably broke (only) the association of interrupts with strings in vmstat output. Notes: svn path=/head/; revision=5008
* Remove ifdef for STATCLOCK. STATCLOCK is standard.Bruce Evans1994-11-272-6/+1
| | | | Notes: svn path=/head/; revision=4841
* Don't core on ``root on qq0 and fx0 and yy0'' specifications; justGarrett Wollman1994-11-231-2/+12
| | | | | | | | take the first one and ignore all the rest, giving a warning message. Fixes PR #3. Notes: svn path=/head/; revision=4791
* Put a simple algorithmus in there that checks the last generated prototypeAndreas Schulz1994-11-201-4/+13
| | | | | | | | | | for ioconf.c with the current and suppress the generation if they are equal. This now prevents all the warnings from the c-compiler about sio or snd or two adaptecs. This works only if the sio lines are grouped together in the config files, but it is better than nothing. Notes: svn path=/head/; revision=4698
* Add new keywords to config. The options availible in file.i386 are now:Justin T. Gibbs1994-11-173-12/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | /* * filename [ standard | optional ] [ config-dependent ] * [ dev* | profiling-routine ] [ device-driver] [ no-obj ] * [ compile-with "compile rule" [no-implicit-rule] ] * [ dependancy "dependancy-list"] */ I added no-obj - This entry does not create anything linkable to the kernel. dependancy - Add additional dependancy rules to a target. no-implicit-rule - Don't assume .c -> .o type rules. Config is really dumb in this area and assumes that everything is a .c file irregarless of extention. This was the best choice really since there may even be .c file that you don't want to follow the standard rules. This was all done so that the building to the aic7770 assembler and using the aic7770 assembler in the building of the aic7770 driver could be config dependant. I can now have an entry like this for the driver: aic7770 optional ahc device-driver \ compile-with "${CC} $> -o $@" \ dependancy "$S/gnu/misc/aic7770/aic7770.c" \ no-obj no-implicit-rule aic7770_seq.h optional ahc device-driver \ compile-with "${.CURDIR}/aic7770 -o $@ $S/gnu/misc/aic7770/aic7770.seq"\ dependancy "$S/gnu/misc/aic7770/aic7770.seq aic7770" \ no-obj no-implicit-rule i386/isa/aic7770.c optional ahc device-driver \ dependancy "aic7770_seq.h" I also added '\' escaping to newlines so that this doesn't look as gross as it could have. Reviewed by: jkh Notes: svn path=/head/; revision=4571
* Treat formfeeds like any other whitespace.Garrett Wollman1994-11-071-1/+1
| | | | Notes: svn path=/head/; revision=4242
* Don't include map.h - it's been obsoleted.David Greenman1994-11-031-4/+0
| | | | Notes: svn path=/head/; revision=4117
* Whoops - one two many zeros in the initializer. This should have everybodyJordan K. Hubbard1994-11-031-2/+2
| | | | | | | enabled by default now. Notes: svn path=/head/; revision=4112
* Changes to initialize the id_enabled flag to 1.Jordan K. Hubbard1994-11-031-2/+2
| | | | | | | | | Also initialize some fields that were never initialized before, and simply defaulted to 0. I've never looked at this code before, now I know why. Config needs to die. Horribly. Notes: svn path=/head/; revision=4110
* Added a slot in the swap-dev-table for NFS-diskless to abuse.Poul-Henning Kamp1994-10-181-0/+1
| | | | Notes: svn path=/head/; revision=3691
* Undo the damage done to my previous changes. Whoever added theJordan K. Hubbard1994-09-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | conditional did it backwards, thus flipping the behavior back off again by default (and only re-enableable through a very counter-intuitive option setting!). I'm glad I caught this and would merely like to state again for the record that if you're going to go and modify my changes then you should at least: 1. Do it correctly, since to do otherwise is kind of a slap in the face. 2. TELL me. This is not me just being compulsive, this is simple courtesy. I'm speaking just of my own preferences here, not necessarily trying to impose my standards on the group at large (e.g. some other folks might not even care). Submitted by: jkh Notes: svn path=/head/; revision=2567
* Revert back to old config behavior if compiled with -DCONFIG_DONT_CLOBBER.Garrett Wollman1994-09-062-0/+9
| | | | Notes: svn path=/head/; revision=2525
* Eradicate my #1 (ok, maybe #2) peeve by making config now blow awayJordan K. Hubbard1994-09-031-1/+19
| | | | | | | | | | and recreate any previous ../../compile/<blah> directory before laying down new files. The depends just aren't smart enough to save us from the grief that config's old behavior has always caused. Submitted by: jkh Notes: svn path=/head/; revision=2483
* Oops...forgot to list the changes....David Greenman1994-08-184-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | /usr/src/usr.sbin.config: o -DSTATCLOCK gives kludges to support the rtc non-device as well as old kludges to support the clk non-device. /usr/src/usr.sbin/config.8: o Document the trivialness of the new vector.h. /usr/src/usr.sbin/mkglue.c: o Only print DEVICE_NAMES and NR_DEVICES in vector.h. These are only required to support vmstat. The vmstat interface will need to be improved for dynamic loading. /usr/src/usr.sbin/mkioconf.c: o Print device ids to be used as indexes into DEVICE_NAMES. o Print secondary interrupt handler entry points (xxxintr()) instead of primary ones (VdevU()). Primary ones are now XintrI() and XfastintrI() and are independent of the config so they are not handled here. o Minor cleanups. Submitted by: Bruce Evans Notes: svn path=/head/; revision=2105
* Support for Bruce Evans' new dynamic interrupt support.David Greenman1994-08-184-86/+90
| | | | | | | Submitted by: Bruce Evans Notes: svn path=/head/; revision=2104
* Generate vector.h line for statclock. (See next commit for details.)Garrett Wollman1994-08-151-1/+3
| | | | Notes: svn path=/head/; revision=2073
* Now that the timezone specification is no longer allowed, don't issue aDavid Greenman1994-08-091-2/+0
| | | | | | | warning that it is missing. Notes: svn path=/head/; revision=1973
* Disallow timezone specification, but still allow it to be presentGarrett Wollman1994-08-081-2/+2
| | | | | | | if it is zero (so that we can parse old config files). Notes: svn path=/head/; revision=1949
* Converted 'vmunix' to 'kernel'.David Greenman1994-08-056-29/+29
| | | | Notes: svn path=/head/; revision=1856
* Upgrade config to be compatible with our i386 port, pull in 95% of theRodney W. Grimes1994-05-269-149/+205
| | | | | | | | changes that have been made in FreeBSD 1.x, except for possibly the nfs diskless support this is a completed config. Notes: svn path=/head/; revision=1566
* BSD 4.4 Lite usr.sbin SourcesRodney W. Grimes1994-05-2626-0/+7415
Notes: svn path=/cvs2svn/branches/WIN_TUE_NL/; revision=1553