diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-11-06 01:38:57 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-11-06 01:38:57 +0000 |
commit | c4b9eaa29723695530b23ac0bd2d2d1ab5a5a9f8 (patch) | |
tree | 5999269d64fda14102cd62eb315e26fe9ebcfb90 /sys/arch/arc | |
parent | 9730d99a05f8dd8a4a4d8b11fbe51152e280a94e (diff) |
use dk_mountroot
Diffstat (limited to 'sys/arch/arc')
-rw-r--r-- | sys/arch/arc/arc/autoconf.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/sys/arch/arc/arc/autoconf.c b/sys/arch/arc/arc/autoconf.c index dd612da7821..0c6594f9132 100644 --- a/sys/arch/arc/arc/autoconf.c +++ b/sys/arch/arc/arc/autoconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.c,v 1.3 1996/09/02 11:33:22 pefo Exp $ */ +/* $OpenBSD: autoconf.c,v 1.4 1996/11/06 01:38:35 deraadt Exp $ */ /* * Copyright (c) 1996 Per Fogelstrom * Copyright (c) 1995 Theo de Raadt @@ -41,7 +41,7 @@ * from: Utah Hdr: autoconf.c 1.31 91/01/21 * * from: @(#)autoconf.c 8.1 (Berkeley) 6/10/93 - * $Id: autoconf.c,v 1.3 1996/09/02 11:33:22 pefo Exp $ + * $Id: autoconf.c,v 1.4 1996/11/06 01:38:35 deraadt Exp $ */ /* @@ -219,14 +219,9 @@ setroot() struct device *dv; dev_t nrootdev, nswapdev = NODEV; char buf[128]; - extern int (*mountroot) __P((void *)); #if defined(NFSCLIENT) extern char *nfsbootdevname; - extern int nfs_mountroot __P((void *)); -#endif -#if defined(FFS) - extern int ffs_mountroot __P((void *)); #endif /* Lookup boot device from boot if not set by configuration */ @@ -360,15 +355,13 @@ gotswap: nfsbootdevname = bootdv->dv_xname; return; #endif -#if defined(FFS) case DV_DISK: - mountroot = ffs_mountroot; + mountroot = dk_mountroot; majdev = major(rootdev); mindev = minor(rootdev); printf("root on %s%c\n", bootdv->dv_xname, (mindev & PARTITIONMASK) + 'a'); break; -#endif default: printf("can't figure root, hope your kernel is right\n"); return; |