Module Name: src
Committed By: tsutsui
Date: Sat Mar 31 02:36:31 UTC 2012
Modified Files:
src/sys/arch/evbarm/marvell: marvell_machdep.c
Log Message:
Make this compile NMVPEX > 0 && !ORION && KIRKWOOD.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 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.6 src/sys/arch/evbarm/marvell/marvell_machdep.c:1.7
--- src/sys/arch/evbarm/marvell/marvell_machdep.c:1.6 Fri Jan 27 15:28:32 2012
+++ src/sys/arch/evbarm/marvell/marvell_machdep.c Sat Mar 31 02:36:31 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: marvell_machdep.c,v 1.6 2012/01/27 15:28:32 jakllsch Exp $ */
+/* $NetBSD: marvell_machdep.c,v 1.7 2012/03/31 02:36:31 tsutsui 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.6 2012/01/27 15:28:32 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: marvell_machdep.c,v 1.7 2012/03/31 02:36:31 tsutsui Exp $");
#include "opt_evbarm_boardtype.h"
#include "opt_ddb.h"
@@ -913,10 +913,14 @@ marvell_device_register(device_t dev, vo
extern struct bus_space
kirkwood_pex_io_bs_tag, kirkwood_pex_mem_bs_tag;
#endif
- extern struct arm32_pci_chipset
- arm32_mvpex0_chipset, arm32_mvpex1_chipset;
+ extern struct arm32_pci_chipset arm32_mvpex0_chipset;
+#ifdef ORION
+ extern struct arm32_pci_chipset arm32_mvpex1_chipset;
+#endif
+#ifdef ORION
struct marvell_attach_args *mva = aux;
+#endif
struct bus_space *mvpex_io_bs_tag, *mvpex_mem_bs_tag;
struct arm32_pci_chipset *arm32_mvpex_chipset;
prop_data_t io_bs_tag, mem_bs_tag, pc;