Module Name:    src
Committed By:   macallan
Date:           Tue Sep 20 05:50:17 UTC 2011

Modified Files:
        src/sys/arch/evbmips/loongson: machdep.c

Log Message:
make this work with NCOM == 0


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/evbmips/loongson/machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbmips/loongson/machdep.c
diff -u src/sys/arch/evbmips/loongson/machdep.c:1.1 src/sys/arch/evbmips/loongson/machdep.c:1.2
--- src/sys/arch/evbmips/loongson/machdep.c:1.1	Sat Aug 27 13:42:45 2011
+++ src/sys/arch/evbmips/loongson/machdep.c	Tue Sep 20 05:50:17 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: machdep.c,v 1.1 2011/08/27 13:42:45 bouyer Exp $	*/
+/*	$NetBSD: machdep.c,v 1.2 2011/09/20 05:50:17 macallan Exp $	*/
 
 /*
  * Copyright 2001, 2002 Wasabi Systems, Inc.
@@ -90,7 +90,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.1 2011/08/27 13:42:45 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.2 2011/09/20 05:50:17 macallan Exp $");
 
 #include "opt_ddb.h"
 #include "opt_execfmt.h"
@@ -140,6 +140,11 @@
 #include <dev/ic/comreg.h>
 #include <dev/ic/comvar.h>
 
+bus_space_tag_t comconsiot;
+bus_addr_t comconsaddr;
+int comconsrate = 0;
+#endif /* NCOM > 0 */
+
 #ifdef LOW_DEBUG
 #define DPRINTF(x) printf x
 #define DPPRINTF(x) pmon_printf x
@@ -148,11 +153,6 @@
 #define DPPRINTF(x)
 #endif
 
-bus_space_tag_t comconsiot;
-bus_addr_t comconsaddr;
-int comconsrate = 0;
-#endif /* NCOM > 0 */
-
 #include "sisfb.h"
 
 

Reply via email to