Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbmips/loongson make this work with NCOM == 0
details: https://anonhg.NetBSD.org/src/rev/fbd128e1f4c2
branches: trunk
changeset: 769717:fbd128e1f4c2
user: macallan <macallan%NetBSD.org@localhost>
date: Tue Sep 20 05:50:17 2011 +0000
description:
make this work with NCOM == 0
diffstat:
sys/arch/evbmips/loongson/machdep.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diffs (42 lines):
diff -r 6d13189c9d41 -r fbd128e1f4c2 sys/arch/evbmips/loongson/machdep.c
--- a/sys/arch/evbmips/loongson/machdep.c Tue Sep 20 05:41:58 2011 +0000
+++ b/sys/arch/evbmips/loongson/machdep.c Tue Sep 20 05:50:17 2011 +0000
@@ -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"
Home |
Main Index |
Thread Index |
Old Index