summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/mvme88k/autoconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/mvme88k/mvme88k/autoconf.c')
-rw-r--r--sys/arch/mvme88k/mvme88k/autoconf.c19
1 files changed, 11 insertions, 8 deletions
diff --git a/sys/arch/mvme88k/mvme88k/autoconf.c b/sys/arch/mvme88k/mvme88k/autoconf.c
index 62c606e7aa6..670b46d89c1 100644
--- a/sys/arch/mvme88k/mvme88k/autoconf.c
+++ b/sys/arch/mvme88k/mvme88k/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.37 2007/05/04 19:30:55 deraadt Exp $ */
+/* $OpenBSD: autoconf.c,v 1.38 2007/06/01 19:25:10 deraadt Exp $ */
/*
* Copyright (c) 1998 Steve Murphree, Jr.
* Copyright (c) 1996 Nivas Madhur
@@ -85,23 +85,26 @@ cpu_configure()
set_psr(get_psr() & ~PSR_IND);
spl0();
- printf("boot device: %s\n",
- (bootdv) ? bootdv->dv_xname : "<unknown>");
-
- setroot(bootdv, bootpart, RB_USERREQ);
- dumpconf();
-
/*
* Finally switch to the real console driver,
* and say goodbye to the BUG!
*/
cn_tab = NULL;
cninit();
-
cold = 0;
}
void
+diskconf(void)
+{
+ printf("boot device: %s\n",
+ (bootdv) ? bootdv->dv_xname : "<unknown>");
+
+ setroot(bootdv, bootpart, RB_USERREQ);
+ dumpconf();
+}
+
+void
device_register(struct device *dev, void *aux)
{
if (bootpart == -1) /* ignore flag from controller driver? */