freebsd-skq/usr.sbin/config
Bruce Evans e05da2e941 Made booting with -a work for all configurations. Previously it
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.
1999-04-15 14:52:24 +00:00
..
SMM.doc
config.8 Back out default debug kernel. The flags revert to historical behaviour. 1999-04-11 03:40:11 +00:00
config.h
config.y Made booting with -a work for all configurations. Previously it 1999-04-15 14:52:24 +00:00
configvers.h Made booting with -a work for all configurations. Previously it 1999-04-15 14:52:24 +00:00
lang.l
main.c Back out default debug kernel. The flags revert to historical behaviour. 1999-04-11 03:40:11 +00:00
Makefile Clean up the -g/DEBUG handling. This logic can go in the Makefile 1999-04-13 18:22:57 +00:00
mkglue.c
mkheaders.c
mkioconf.c
mkmakefile.c Clean up the -g/DEBUG handling. This logic can go in the Makefile 1999-04-13 18:22:57 +00:00
mkoptions.c
mkswapconf.c Made booting with -a work for all configurations. Previously it 1999-04-15 14:52:24 +00:00
mkubglue.c