summaryrefslogtreecommitdiff
path: root/sys/arch/landisk
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2006-10-25 04:00:00 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2006-10-25 04:00:00 +0000
commit93414bb5e2eca77371afb6dd5dc6b362557fdb10 (patch)
tree2a69ce9148942cd8360ed5ac6eab935c6ab7682b /sys/arch/landisk
parent8ee15b10b0d7abb84bf7b98555da28cbd6d08fb0 (diff)
Add ramdisk hooks portion.
Diffstat (limited to 'sys/arch/landisk')
-rw-r--r--sys/arch/landisk/landisk/machdep.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/landisk/landisk/machdep.c b/sys/arch/landisk/landisk/machdep.c
index 8a98483194d..d0997d713b1 100644
--- a/sys/arch/landisk/landisk/machdep.c
+++ b/sys/arch/landisk/landisk/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.4 2006/10/19 22:15:02 drahn Exp $ */
+/* $OpenBSD: machdep.c,v 1.5 2006/10/25 03:59:59 drahn Exp $ */
/* $NetBSD: machdep.c,v 1.1 2006/09/01 21:26:18 uwe Exp $ */
/*-
@@ -161,6 +161,10 @@ landisk_startup(int howto, char *_esym, void *bi)
/* Initialize pmap and start to address translation */
pmap_bootstrap();
+#ifdef RAMDISK_HOOKS
+ boothowto |= RB_DFLTROOT;
+#endif /* RAMDISK_HOOKS */
+
#if defined(DDB)
db_machine_init();
ddb_init();