diff options
-rw-r--r-- | sys/alpha/alpha/autoconf.c | 14 | ||||
-rw-r--r-- | sys/amd64/amd64/autoconf.c | 16 | ||||
-rw-r--r-- | sys/i386/i386/autoconf.c | 16 | ||||
-rw-r--r-- | sys/ufs/mfs/mfs_extern.h | 3 | ||||
-rw-r--r-- | sys/ufs/mfs/mfs_vfsops.c | 4 |
5 files changed, 24 insertions, 29 deletions
diff --git a/sys/alpha/alpha/autoconf.c b/sys/alpha/alpha/autoconf.c index 9e3b12e..6772b75 100644 --- a/sys/alpha/alpha/autoconf.c +++ b/sys/alpha/alpha/autoconf.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: autoconf.c,v 1.21 1999/05/10 16:04:52 peter Exp $ + * $Id: autoconf.c,v 1.22 1999/05/10 16:36:38 peter Exp $ */ #include "opt_bootp.h" @@ -58,6 +58,10 @@ #include <cam/cam_xpt_sim.h> #include <cam/cam_debug.h> +#ifdef MFS_ROOT +#include <ufs/mfs/mfs_extern.h> +#endif + static void configure __P((void *)); SYSINIT(configure, SI_SUB_CONFIGURE, SI_ORDER_THIRD, configure, NULL) @@ -65,10 +69,6 @@ static void configure_finish __P((void)); static void configure_start __P((void)); static int setdumpdev __P((dev_t dev)); -#ifdef MFS_ROOT -extern u_char *mfs_getimage __P((void)); -#endif - device_t isa_bus_device = 0; struct cam_sim *boot_sim = 0; extern int nfs_diskless_valid; @@ -86,8 +86,6 @@ configure_finish() { } -extern void pci_configure(void); - static int atoi(const char *s) { @@ -198,8 +196,6 @@ configure(void *dummy) if((hwrpb->rpb_type != ST_DEC_3000_300) && (hwrpb->rpb_type != ST_DEC_3000_500)){ - /* pci_configure(); */ - /* * Probe ISA devices after everything. */ diff --git a/sys/amd64/amd64/autoconf.c b/sys/amd64/amd64/autoconf.c index 0dff498..ba9b26c 100644 --- a/sys/amd64/amd64/autoconf.c +++ b/sys/amd64/amd64/autoconf.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)autoconf.c 7.1 (Berkeley) 5/9/91 - * $Id: autoconf.c,v 1.119 1999/05/09 16:45:49 phk Exp $ + * $Id: autoconf.c,v 1.120 1999/05/09 16:56:09 phk Exp $ */ /* @@ -75,9 +75,8 @@ #include <i386/isa/icu.h> -#include "isa.h" -#if NISA > 0 -device_t isa_bus_device = 0; +#ifdef MFS_ROOT +#include <ufs/mfs/mfs_extern.h> #endif #include "pnp.h" @@ -96,6 +95,11 @@ device_t isa_bus_device = 0; #include <pci/pcivar.h> #endif +#include "isa.h" +#if NISA > 0 +device_t isa_bus_device = 0; +#endif + static void configure_first __P((void *)); static void configure __P((void *)); static void configure_final __P((void *)); @@ -178,10 +182,6 @@ find_cdrom_root() } #endif /* CD9660 || CD9660_ROOT */ -#ifdef MFS_ROOT -extern u_char *mfs_getimage __P((void)); -#endif - static void configure_start() { diff --git a/sys/i386/i386/autoconf.c b/sys/i386/i386/autoconf.c index 0dff498..ba9b26c 100644 --- a/sys/i386/i386/autoconf.c +++ b/sys/i386/i386/autoconf.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)autoconf.c 7.1 (Berkeley) 5/9/91 - * $Id: autoconf.c,v 1.119 1999/05/09 16:45:49 phk Exp $ + * $Id: autoconf.c,v 1.120 1999/05/09 16:56:09 phk Exp $ */ /* @@ -75,9 +75,8 @@ #include <i386/isa/icu.h> -#include "isa.h" -#if NISA > 0 -device_t isa_bus_device = 0; +#ifdef MFS_ROOT +#include <ufs/mfs/mfs_extern.h> #endif #include "pnp.h" @@ -96,6 +95,11 @@ device_t isa_bus_device = 0; #include <pci/pcivar.h> #endif +#include "isa.h" +#if NISA > 0 +device_t isa_bus_device = 0; +#endif + static void configure_first __P((void *)); static void configure __P((void *)); static void configure_final __P((void *)); @@ -178,10 +182,6 @@ find_cdrom_root() } #endif /* CD9660 || CD9660_ROOT */ -#ifdef MFS_ROOT -extern u_char *mfs_getimage __P((void)); -#endif - static void configure_start() { diff --git a/sys/ufs/mfs/mfs_extern.h b/sys/ufs/mfs/mfs_extern.h index ae5b7af..ef06cba 100644 --- a/sys/ufs/mfs/mfs_extern.h +++ b/sys/ufs/mfs/mfs_extern.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)mfs_extern.h 8.4 (Berkeley) 3/30/95 - * $Id: mfs_extern.h,v 1.11 1998/02/03 21:52:02 bde Exp $ + * $Id: mfs_extern.h,v 1.12 1999/01/21 08:29:08 dillon Exp $ */ #ifndef _UFS_MFS_MFS_EXTERN_H_ @@ -46,5 +46,6 @@ struct mfsnode; void mfs_doio __P((struct buf *bp, struct mfsnode *mfsnode)); int mfs_mountfs __P((struct vnode *, struct mount *, struct proc *)); int mfs_mountroot __P((void)); +u_char *mfs_getimage __P((void)); #endif /* !_UFS_MFS_MFS_EXTERN_H_ */ diff --git a/sys/ufs/mfs/mfs_vfsops.c b/sys/ufs/mfs/mfs_vfsops.c index e7c0aea..f82582f 100644 --- a/sys/ufs/mfs/mfs_vfsops.c +++ b/sys/ufs/mfs/mfs_vfsops.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)mfs_vfsops.c 8.11 (Berkeley) 6/19/95 - * $Id: mfs_vfsops.c,v 1.59 1999/04/06 03:08:43 peter Exp $ + * $Id: mfs_vfsops.c,v 1.60 1999/04/21 09:41:07 dt Exp $ */ @@ -62,8 +62,6 @@ MALLOC_DEFINE(M_MFSNODE, "MFS node", "MFS vnode private part"); -u_char * mfs_getimage __P((void)); - #ifdef MFS_ROOT static caddr_t mfs_rootbase; /* address of mini-root in kernel virtual memory */ static u_long mfs_rootsize; /* size of mini-root in bytes */ |