Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mipsco/mipsco Make booted_device struct visible to ...
details: https://anonhg.NetBSD.org/src/rev/031240c6a368
branches: trunk
changeset: 503436:031240c6a368
user: wdk <wdk%NetBSD.org@localhost>
date: Tue Feb 06 04:27:48 2001 +0000
description:
Make booted_device struct visible to RAIDframe driver
diffstat:
sys/arch/mipsco/mipsco/autoconf.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r ac6bca1647ae -r 031240c6a368 sys/arch/mipsco/mipsco/autoconf.c
--- a/sys/arch/mipsco/mipsco/autoconf.c Tue Feb 06 02:49:12 2001 +0000
+++ b/sys/arch/mipsco/mipsco/autoconf.c Tue Feb 06 04:27:48 2001 +0000
@@ -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 @@
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 @@
void
cpu_rootconf()
{
- struct device *booted_device;
- int booted_partition;
-
findroot(&booted_device, &booted_partition);
printf("boot device: %s\n",
Home |
Main Index |
Thread Index |
Old Index