Module Name: src Committed By: kiyohara Date: Wed Jul 18 08:51:42 UTC 2012
Modified Files: src/sys/arch/evbarm/marvell: marvell_machdep.c Log Message: Set default EVBARM_BOARDTYPE is Marvell. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/arch/evbarm/marvell/marvell_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/evbarm/marvell/marvell_machdep.c diff -u src/sys/arch/evbarm/marvell/marvell_machdep.c:1.7 src/sys/arch/evbarm/marvell/marvell_machdep.c:1.8 --- src/sys/arch/evbarm/marvell/marvell_machdep.c:1.7 Sat Mar 31 02:36:31 2012 +++ src/sys/arch/evbarm/marvell/marvell_machdep.c Wed Jul 18 08:51:42 2012 @@ -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 @@ initarm(void *arg) 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");