Make this compile NMVPEX > 0 && !ORION && KIRKWOOD.

This commit is contained in:
tsutsui 2012-03-31 02:36:31 +00:00
parent 3ba1aa3bc8
commit aa4070f274
1 changed files with 8 additions and 4 deletions

View File

@ -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, void *aux)
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;