Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/powerpc/oea move console_node and console_instance ...



details:   https://anonhg.NetBSD.org/src/rev/e7f874e541bc
branches:  trunk
changeset: 786806:e7f874e541bc
user:      macallan <macallan%NetBSD.org@localhost>
date:      Sun May 12 13:23:08 2013 +0000

description:
move console_node and console_instance to ofw_consinit.c where they're
actually used

diffstat:

 sys/arch/powerpc/oea/ofw_autoconf.c |  5 ++---
 sys/arch/powerpc/oea/ofw_consinit.c |  6 +++---
 2 files changed, 5 insertions(+), 6 deletions(-)

diffs (53 lines):

diff -r f8a5b5c58737 -r e7f874e541bc sys/arch/powerpc/oea/ofw_autoconf.c
--- a/sys/arch/powerpc/oea/ofw_autoconf.c       Sun May 12 12:25:12 2013 +0000
+++ b/sys/arch/powerpc/oea/ofw_autoconf.c       Sun May 12 13:23:08 2013 +0000
@@ -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 @@
 
 extern char bootpath[256];
 char cbootpath[256];
-int console_node = 0, console_instance = 0;
 
 static void canonicalize_bootpath(void);
 
diff -r f8a5b5c58737 -r e7f874e541bc sys/arch/powerpc/oea/ofw_consinit.c
--- a/sys/arch/powerpc/oea/ofw_consinit.c       Sun May 12 12:25:12 2013 +0000
+++ b/sys/arch/powerpc/oea/ofw_consinit.c       Sun May 12 13:23:08 2013 +0000
@@ -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 @@
 #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;



Home | Main Index | Thread Index | Old Index