summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1997-10-28 10:52:19 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1997-10-28 10:52:19 +0000
commit477eedcd42bd0217f95f0dd858b7090e9fd63966 (patch)
tree1cafac12b6793f38c70a3c8ce0d2b89d0b945e68 /sys/arch/i386
parent722ff010b29efb57e67d786ef2464eb11a4162b2 (diff)
dkcsum is *really* mandatory. XXX will be done differently later.
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/i386/autoconf.c22
1 files changed, 1 insertions, 21 deletions
diff --git a/sys/arch/i386/i386/autoconf.c b/sys/arch/i386/i386/autoconf.c
index 3ef36b19ae2..0fea0692326 100644
--- a/sys/arch/i386/i386/autoconf.c
+++ b/sys/arch/i386/i386/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.27 1997/10/27 15:47:48 mickey Exp $ */
+/* $OpenBSD: autoconf.c,v 1.28 1997/10/28 10:52:18 niklas Exp $ */
/* $NetBSD: autoconf.c,v 1.20 1996/05/03 19:41:56 christos Exp $ */
/*-
@@ -62,12 +62,6 @@
#include <dev/cons.h>
-#include "bios.h"
-#if NBIOS > 0
-extern void dkcsumattach __P((void)); /* XXX should be elsewhere */
-int i386_mountroot __P((void));
-#endif
-
void swapconf __P((void));
void setroot __P((void));
void setconf __P((void));
@@ -369,11 +363,7 @@ noask:
}
doswap:
-#if NBIOS > 0
- mountroot = i386_mountroot;
-#else
mountroot = dk_mountroot;
-#endif
swdevt[0].sw_dev = argdev = dumpdev =
makedev(major(rootdev), minor(rootdev) + 1);
/* swap size and dumplo set during autoconfigure */
@@ -382,13 +372,3 @@ doswap:
rootdev = dumpdev;
#endif
}
-
-#if NBIOS > 0
-int
-i386_mountroot()
-{
- /* Establish BIOS to BSD disk mappings. */
- dkcsumattach();
- return (dk_mountroot());
-}
-#endif