move console_node and console_instance to ofw_consinit.c where they're
actually used
This commit is contained in:
parent
24964ef3d1
commit
bdcb52e9e3
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ofw_autoconf.c,v 1.18 2013/04/28 00:44:27 macallan Exp $ */
|
||||
/* $NetBSD: ofw_autoconf.c,v 1.19 2013/05/12 13:23:08 macallan Exp $ */
|
||||
/*
|
||||
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
|
||||
* Copyright (C) 1995, 1996 TooLs GmbH.
|
||||
|
@ -31,7 +31,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: ofw_autoconf.c,v 1.18 2013/04/28 00:44:27 macallan Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: ofw_autoconf.c,v 1.19 2013/05/12 13:23:08 macallan Exp $");
|
||||
|
||||
#ifdef ofppc
|
||||
#include "gtpci.h"
|
||||
|
@ -67,7 +67,6 @@ __KERNEL_RCSID(0, "$NetBSD: ofw_autoconf.c,v 1.18 2013/04/28 00:44:27 macallan E
|
|||
|
||||
extern char bootpath[256];
|
||||
char cbootpath[256];
|
||||
int console_node = 0, console_instance = 0;
|
||||
|
||||
static void canonicalize_bootpath(void);
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ofw_consinit.c,v 1.15 2012/10/29 12:52:43 chs Exp $ */
|
||||
/* $NetBSD: ofw_consinit.c,v 1.16 2013/05/12 13:23:08 macallan Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2007 The NetBSD Foundation, Inc.
|
||||
|
@ -30,7 +30,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: ofw_consinit.c,v 1.15 2012/10/29 12:52:43 chs Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: ofw_consinit.c,v 1.16 2013/05/12 13:23:08 macallan Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/buf.h>
|
||||
|
@ -88,7 +88,7 @@ extern struct consdev consdev_zs;
|
|||
#include <dev/ic/pckbcvar.h>
|
||||
#endif
|
||||
|
||||
extern int console_node, console_instance;
|
||||
int console_node = 0, console_instance = 0;
|
||||
|
||||
int chosen, stdin, stdout;
|
||||
int ofkbd_ihandle;
|
||||
|
|
Loading…
Reference in New Issue