Module Name: src
Committed By: cliff
Date: Mon Dec 14 07:23:31 UTC 2009
Modified Files:
src/sys/arch/evbmips/rmixl [matt-nb5-mips64]: machdep.c
Log Message:
- delete MACHDEP_DEBUG define
- adjust name of (big endian) obio bus space init function
To generate a diff of this commit:
cvs rdiff -u -r1.1.2.9 -r1.1.2.10 src/sys/arch/evbmips/rmixl/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/rmixl/machdep.c
diff -u src/sys/arch/evbmips/rmixl/machdep.c:1.1.2.9 src/sys/arch/evbmips/rmixl/machdep.c:1.1.2.10
--- src/sys/arch/evbmips/rmixl/machdep.c:1.1.2.9 Fri Dec 11 23:57:38 2009
+++ src/sys/arch/evbmips/rmixl/machdep.c Mon Dec 14 07:23:31 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.1.2.9 2009/12/11 23:57:38 cliff Exp $ */
+/* $NetBSD: machdep.c,v 1.1.2.10 2009/12/14 07:23:31 cliff Exp $ */
/*
* Copyright 2001, 2002 Wasabi Systems, Inc.
@@ -112,7 +112,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.1.2.9 2009/12/11 23:57:38 cliff Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.1.2.10 2009/12/14 07:23:31 cliff Exp $");
#include "opt_ddb.h"
#include "opt_com.h"
@@ -162,7 +162,6 @@
#include <mips/rmi/rmixl_firmware.h>
#include <mips/rmi/rmixlreg.h>
-#define MACHDEP_DEBUG 1
#ifdef MACHDEP_DEBUG
int machdep_debug=MACHDEP_DEBUG;
# define DPRINTF(x) do { if (machdep_debug) printf x ; } while(0)
@@ -171,7 +170,7 @@
#endif
#ifndef CONSFREQ
-# define CONSFREQ -1 /* inherit from firmware */
+# define CONSFREQ 66000000
#endif
#ifndef CONSPEED
# define CONSPEED 38400
@@ -307,7 +306,7 @@
physmem = btoc(memsize);
- rmixl_obio_bus_mem_init(&rcp->rc_obio_memt, rcp); /* need for console */
+ rmixl_obio_eb_bus_mem_init(&rcp->rc_obio_eb_memt, rcp);
#if NCOM > 0
rmixl_com_cnattach(comcnaddr, comcnspeed, comcnfreq,