Drop optionsnode, fbnode and stdinnnode.
This commit is contained in:
parent
6c02638ef2
commit
af0050c56b
|
@ -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));
|
||||
|
||||
|
|
|
@ -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 <sys/cdefs.h>
|
||||
__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
|
||||
|
|
Loading…
Reference in New Issue