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 actually build without PCI_NETBSD...



details:   https://anonhg.NetBSD.org/src/rev/2ab9f5dcdbaf
branches:  trunk
changeset: 772707:2ab9f5dcdbaf
user:      rkujawa <rkujawa%NetBSD.org@localhost>
date:      Fri Jan 13 13:41:25 2012 +0000

description:
Make it actually build without PCI_NETBSD_CONFIGURE too.

diffstat:

 sys/arch/amiga/pci/mppb.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r fa6c89dbe56e -r 2ab9f5dcdbaf sys/arch/amiga/pci/mppb.c
--- a/sys/arch/amiga/pci/mppb.c Fri Jan 13 13:36:36 2012 +0000
+++ b/sys/arch/amiga/pci/mppb.c Fri Jan 13 13:41:25 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mppb.c,v 1.3 2012/01/13 13:36:36 rkujawa Exp $ */
+/*     $NetBSD: mppb.c,v 1.4 2012/01/13 13:41:25 rkujawa Exp $ */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -116,7 +116,9 @@
        struct pcibus_attach_args pba;  
        struct zbus_args *zap;
        pci_chipset_tag_t pc;
+#ifdef PCI_NETBSD_CONFIGURE
        struct extent *ioext, *memext;
+#endif /* PCI_NETBSD_CONFIGURE */
 
        zap = aux;
        sc = device_private(self);



Home | Main Index | Thread Index | Old Index