Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbarm/marvell Set default EVBARM_BOARDTYPE is Marv...



details:   https://anonhg.NetBSD.org/src/rev/050131224a66
branches:  trunk
changeset: 780248:050131224a66
user:      kiyohara <kiyohara%NetBSD.org@localhost>
date:      Wed Jul 18 08:51:42 2012 +0000

description:
Set default EVBARM_BOARDTYPE is Marvell.

diffstat:

 sys/arch/evbarm/marvell/marvell_machdep.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 33534d65ab98 -r 050131224a66 sys/arch/evbarm/marvell/marvell_machdep.c
--- a/sys/arch/evbarm/marvell/marvell_machdep.c Wed Jul 18 02:31:46 2012 +0000
+++ b/sys/arch/evbarm/marvell/marvell_machdep.c Wed Jul 18 08:51:42 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: marvell_machdep.c,v 1.7 2012/03/31 02:36:31 tsutsui Exp $ */
+/*     $NetBSD: marvell_machdep.c,v 1.8 2012/07/18 08:51:42 kiyohara Exp $ */
 /*
  * Copyright (c) 2007, 2008, 2010 KIYOHARA Takashi
  * All rights reserved.
@@ -25,7 +25,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: marvell_machdep.c,v 1.7 2012/03/31 02:36:31 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: marvell_machdep.c,v 1.8 2012/07/18 08:51:42 kiyohara Exp $");
 
 #include "opt_evbarm_boardtype.h"
 #include "opt_ddb.h"
@@ -426,6 +426,9 @@
        consinit();
 
        /* Talk to the user */
+#ifndef EVBARM_BOARDTYPE
+#define EVBARM_BOARDTYPE       Marvell
+#endif
 #define BDSTR(s)       _BDSTR(s)
 #define _BDSTR(s)      #s
        printf("\nNetBSD/evbarm (" BDSTR(EVBARM_BOARDTYPE) ") booting ...\n");



Home | Main Index | Thread Index | Old Index