freebsd-nq/sys/amd64
Bill Paul 188291d20f Do away with 'options SWAP_GENERIC' once and for all: I get ill
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.)
1995-02-18 18:05:35 +00:00
..
amd64 Do away with 'options SWAP_GENERIC' once and for all: I get ill 1995-02-18 18:05:35 +00:00
conf Include three lines about the pcvt console driver, so we don't ever need 1995-02-15 20:38:36 +00:00
include Fix syntax errors in #ifdefed out code. 1995-02-16 13:21:47 +00:00
isa Undo the busy latch changes made in the previous revision. They broke 1995-02-17 19:38:13 +00:00
pci Initialisation of interrupt masks changed. 1995-02-09 20:16:19 +00:00
Makefile Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some 1993-10-16 19:17:18 +00:00