From f4290b34e991de39aa8d0fe0324857775c959ce9 Mon Sep 17 00:00:00 2001 From: wdk Date: Tue, 6 Feb 2001 04:27:48 +0000 Subject: [PATCH] Make booted_device struct visible to RAIDframe driver --- sys/arch/mipsco/mipsco/autoconf.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/sys/arch/mipsco/mipsco/autoconf.c b/sys/arch/mipsco/mipsco/autoconf.c index a2331d989550..1539e3907dc7 100644 --- a/sys/arch/mipsco/mipsco/autoconf.c +++ b/sys/arch/mipsco/mipsco/autoconf.c @@ -1,4 +1,4 @@ -/* $NetBSD: autoconf.c,v 1.4 2000/09/26 11:45:06 wdk Exp $ */ +/* $NetBSD: autoconf.c,v 1.5 2001/02/06 04:27:48 wdk Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -79,6 +79,8 @@ extern int initcpu __P((void)); /*XXX*/ void findroot __P((struct device **, int *)); struct intrhandler intrtab[MAX_INTR_COOKIES]; +struct device *booted_device; +static int booted_partition; /* * Determine mass storage and memory configuration for a machine. @@ -104,9 +106,6 @@ cpu_configure() void cpu_rootconf() { - struct device *booted_device; - int booted_partition; - findroot(&booted_device, &booted_partition); printf("boot device: %s\n",