Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/pci wrap decl in #if NAGP > 0



details:   https://anonhg.NetBSD.org/src/rev/cad353b9c9fc
branches:  trunk
changeset: 514772:cad353b9c9fc
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Mon Sep 10 10:54:46 2001 +0000

description:
wrap decl in #if NAGP > 0

diffstat:

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

diffs (19 lines):

diff -r 2d6670358942 -r cad353b9c9fc sys/arch/i386/pci/pchb.c
--- a/sys/arch/i386/pci/pchb.c  Mon Sep 10 10:20:32 2001 +0000
+++ b/sys/arch/i386/pci/pchb.c  Mon Sep 10 10:54:46 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pchb.c,v 1.24 2001/09/10 10:06:54 fvdl Exp $   */
+/*     $NetBSD: pchb.c,v 1.25 2001/09/10 10:54:46 fvdl Exp $   */
 
 /*-
  * Copyright (c) 1996, 1998, 2000 The NetBSD Foundation, Inc.
@@ -107,7 +107,9 @@
        struct pci_attach_args *pa = aux;
        char devinfo[256];
        struct pcibus_attach_args pba;
+#if NAGP > 0
        struct agp_phcb_attach_args apa;
+#endif
        pcireg_t bcreg;
        u_char bdnum, pbnum;
        pcitag_t tag;



Home | Main Index | Thread Index | Old Index