summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-11-06 02:01:20 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-11-06 02:01:20 +0000
commit82d48b999b49d39f2074fdd7304f2914673251fb (patch)
tree83308dd931c906eb191165f033d7cc0e6addc1c9 /sys/arch
parentf95691896db58441325b8fb166935654ec90ec65 (diff)
use dk_mountroot
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/alpha/alpha/autoconf.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/sys/arch/alpha/alpha/autoconf.c b/sys/arch/alpha/alpha/autoconf.c
index 7231ee3d031..d33678ae26f 100644
--- a/sys/arch/alpha/alpha/autoconf.c
+++ b/sys/arch/alpha/alpha/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.4 1996/10/30 22:37:57 niklas Exp $ */
+/* $OpenBSD: autoconf.c,v 1.5 1996/11/06 02:01:19 deraadt Exp $ */
/* $NetBSD: autoconf.c,v 1.14 1996/10/13 02:59:23 christos Exp $ */
/*
@@ -269,16 +269,11 @@ setroot()
register int len;
dev_t nrootdev, nswapdev = NODEV;
char buf[128], *rootdevname;
- extern int (*mountroot) __P((void *));
dev_t temp;
struct device *bootdv, *rootdv, *swapdv;
int bootpartition;
#if defined(NFSCLIENT)
extern char *nfsbootdevname;
- extern int nfs_mountroot __P((void *));
-#endif
-#if defined(FFS)
- extern int ffs_mountroot __P((void *));
#endif
#ifdef RAMDISK_HOOKS
@@ -426,9 +421,8 @@ gotswap:
nfsbootdevname = rootdv->dv_xname;
return;
#endif
-#if defined(FFS)
case DV_DISK:
- mountroot = ffs_mountroot;
+ mountroot = dk_mountroot;
sprintf(root_device, "%s%c", rootdv->dv_xname,
DISKPART(rootdev) + 'a');
printf("root on %s", root_device);
@@ -437,7 +431,6 @@ gotswap:
DISKPART(nswapdev) + 'a');
printf("\n");
break;
-#endif
default:
printf("can't figure root, hope your kernel is right\n");
return;