Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amd64/amd64 Add #if NACPI around acpi attach args.



details:   https://anonhg.NetBSD.org/src/rev/38a245839e6c
branches:  trunk
changeset: 547205:38a245839e6c
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Thu May 15 02:20:51 2003 +0000

description:
Add #if NACPI around acpi attach args.

diffstat:

 sys/arch/amd64/amd64/mainbus.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 58bebf3dc154 -r 38a245839e6c sys/arch/amd64/amd64/mainbus.c
--- a/sys/arch/amd64/amd64/mainbus.c    Thu May 15 02:03:45 2003 +0000
+++ b/sys/arch/amd64/amd64/mainbus.c    Thu May 15 02:20:51 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mainbus.c,v 1.3 2003/05/11 21:54:49 fvdl Exp $ */
+/*     $NetBSD: mainbus.c,v 1.4 2003/05/15 02:20:51 fvdl Exp $ */
 
 /*
  * Copyright (c) 1996 Christopher G. Demetriou.  All rights reserved.
@@ -76,7 +76,9 @@
        struct pcibus_attach_args mba_pba;
        struct isabus_attach_args mba_iba;
        struct cpu_attach_args mba_caa;
+#if NACPI > 0
        struct acpibus_attach_args mba_acpi;
+#endif
        struct apic_attach_args aaa_caa;
 };
 



Home | Main Index | Thread Index | Old Index