From af0050c56b7d7c1d9c84a85ca4a7d02e9eeafd15 Mon Sep 17 00:00:00 2001 From: pk Date: Fri, 19 Mar 2004 15:22:43 +0000 Subject: [PATCH] Drop optionsnode, fbnode and stdinnnode. --- sys/arch/sparc64/include/autoconf.h | 5 +---- sys/arch/sparc64/sparc64/autoconf.c | 16 ++-------------- 2 files changed, 3 insertions(+), 18 deletions(-) diff --git a/sys/arch/sparc64/include/autoconf.h b/sys/arch/sparc64/include/autoconf.h index af65c601d9d0..1e7b24383e7a 100644 --- a/sys/arch/sparc64/include/autoconf.h +++ b/sys/arch/sparc64/include/autoconf.h @@ -1,4 +1,4 @@ -/* $NetBSD: autoconf.h,v 1.19 2004/03/17 17:04:59 pk Exp $ */ +/* $NetBSD: autoconf.h,v 1.20 2004/03/19 15:22:43 pk Exp $ */ /*- * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc. @@ -133,9 +133,6 @@ int prom_getprop __P((int, char *, size_t, int *, void *)); char *prom_getpropstring __P((int node, char *name)); int prom_getpropint __P((int node, char *name, int deflt)); -/* Frequently used options node */ -extern int optionsnode; - /* new interfaces: */ char *prom_getpropstringA __P((int, char *, char *, size_t)); diff --git a/sys/arch/sparc64/sparc64/autoconf.c b/sys/arch/sparc64/sparc64/autoconf.c index 08e9e305d93b..5d2241e388f5 100644 --- a/sys/arch/sparc64/sparc64/autoconf.c +++ b/sys/arch/sparc64/sparc64/autoconf.c @@ -1,4 +1,4 @@ -/* $NetBSD: autoconf.c,v 1.93 2004/03/17 17:04:59 pk Exp $ */ +/* $NetBSD: autoconf.c,v 1.94 2004/03/19 15:22:43 pk Exp $ */ /* * Copyright (c) 1996 @@ -48,7 +48,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.93 2004/03/17 17:04:59 pk Exp $"); +__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.94 2004/03/19 15:22:43 pk Exp $"); #include "opt_ddb.h" #include "opt_kgdb.h" @@ -98,15 +98,6 @@ __KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.93 2004/03/17 17:04:59 pk Exp $"); int printspl = 0; -/* - * The following several variables are related to - * the configuration process, and are used in initializing - * the machine. - */ -int stdinnode; /* node ID of ROM's console input device */ -int fbnode; /* node ID of ROM's console output device */ -int optionsnode; /* node ID of ROM's options */ - #ifdef KGDB extern int kgdb_debug_panic; #endif @@ -674,9 +665,6 @@ extern struct sparc_bus_space_tag mainbus_space_tag; /* Find the "options" node */ node0 = OF_child(node); - optionsnode = findnode(node0, "options"); - if (optionsnode == 0) - panic("no options in OPENPROM"); /* * Configure the devices, in PROM order. Skip