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 update for acpi busname removal



details:   https://anonhg.NetBSD.org/src/rev/5bd5d2a5e009
branches:  trunk
changeset: 581455:5bd5d2a5e009
user:      drochner <drochner%NetBSD.org@localhost>
date:      Wed Jun 01 18:51:25 2005 +0000

description:
update for acpi busname removal

diffstat:

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

diffs (35 lines):

diff -r 1149a98a7721 -r 5bd5d2a5e009 sys/arch/amd64/amd64/mainbus.c
--- a/sys/arch/amd64/amd64/mainbus.c    Wed Jun 01 18:50:33 2005 +0000
+++ b/sys/arch/amd64/amd64/mainbus.c    Wed Jun 01 18:51:25 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mainbus.c,v 1.8 2004/08/30 15:05:16 drochner Exp $     */
+/*     $NetBSD: mainbus.c,v 1.9 2005/06/01 18:51:25 drochner Exp $     */
 
 /*
  * Copyright (c) 1996 Christopher G. Demetriou.  All rights reserved.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.8 2004/08/30 15:05:16 drochner Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.9 2005/06/01 18:51:25 drochner Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -202,7 +202,6 @@
 
 #if NACPI > 0
        if (acpi_present) {
-               mba.mba_acpi.aa_busname = "acpi";
                mba.mba_acpi.aa_iot = X86_BUS_SPACE_IO;
                mba.mba_acpi.aa_memt = X86_BUS_SPACE_MEM;
                mba.mba_acpi.aa_pc = NULL;
@@ -211,7 +210,7 @@
                    PCI_FLAGS_MRL_OKAY | PCI_FLAGS_MRM_OKAY |
                    PCI_FLAGS_MWI_OKAY;
                mba.mba_acpi.aa_ic = &x86_isa_chipset;
-               config_found_ia(self, "acpibus", &mba.mba_acpi, mainbus_print);
+               config_found_ia(self, "acpibus", &mba.mba_acpi, 0);
        }
 #endif
 



Home | Main Index | Thread Index | Old Index