Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/amiga/pci Make it build without PCI_NETBSD_CONFIGUR...
details: https://anonhg.NetBSD.org/src/rev/fa6c89dbe56e
branches: trunk
changeset: 772706:fa6c89dbe56e
user: rkujawa <rkujawa%NetBSD.org@localhost>
date: Fri Jan 13 13:36:36 2012 +0000
description:
Make it build without PCI_NETBSD_CONFIGURE too.
diffstat:
sys/arch/amiga/pci/mppb.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r aac7f38bcd79 -r fa6c89dbe56e sys/arch/amiga/pci/mppb.c
--- a/sys/arch/amiga/pci/mppb.c Fri Jan 13 09:21:11 2012 +0000
+++ b/sys/arch/amiga/pci/mppb.c Fri Jan 13 13:36:36 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mppb.c,v 1.2 2011/09/19 19:15:29 rkujawa Exp $ */
+/* $NetBSD: mppb.c,v 1.3 2012/01/13 13:36:36 rkujawa Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -167,6 +167,7 @@
sc->apc.pc_conf_hook = amiga_pci_conf_hook;
sc->apc.pc_conf_interrupt = amiga_pci_conf_interrupt;
+#ifdef PCI_NETBSD_CONFIGURE
ioext = extent_create("mppbio", MPPB_IO_BASE,
MPPB_IO_BASE + MPPB_IO_SIZE, M_DEVBUF, NULL, 0, EX_NOWAIT);
memext = extent_create("mppbmem", MPPB_MEM_BASE,
@@ -176,6 +177,7 @@
extent_destroy(ioext);
extent_destroy(memext);
+#endif /* PCI_NETBSD_CONFIGURE */
pba.pba_iot = &(sc->pci_io_area);
pba.pba_memt = &(sc->pci_mem_area);
Home |
Main Index |
Thread Index |
Old Index