Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/acpi Add ACPI_RESOURCE_TYPE_END_TAG and ACPI_RESOURC...



details:   https://anonhg.NetBSD.org/src/rev/b8cac93281be
branches:  trunk
changeset: 339532:b8cac93281be
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Mon Jul 27 04:50:50 2015 +0000

description:
Add ACPI_RESOURCE_TYPE_END_TAG and ACPI_RESOURCE_TYPE_ADDRESS64.

diffstat:

 sys/dev/acpi/acpi_resource.c |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (39 lines):

diff -r 1ae22d8d49f6 -r b8cac93281be sys/dev/acpi/acpi_resource.c
--- a/sys/dev/acpi/acpi_resource.c      Sun Jul 26 22:32:03 2015 +0000
+++ b/sys/dev/acpi/acpi_resource.c      Mon Jul 27 04:50:50 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: acpi_resource.c,v 1.36 2015/04/13 18:32:50 christos Exp $      */
+/*     $NetBSD: acpi_resource.c,v 1.37 2015/07/27 04:50:50 msaitoh Exp $       */
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -67,7 +67,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_resource.c,v 1.36 2015/04/13 18:32:50 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_resource.c,v 1.37 2015/07/27 04:50:50 msaitoh Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -99,6 +99,9 @@
        ops = arg->ops;
 
        switch (res->Type) {
+       case ACPI_RESOURCE_TYPE_END_TAG:
+               ACPI_DEBUG_PRINT((ACPI_DB_RESOURCES, "EndTag\n"));
+               break;
        case ACPI_RESOURCE_TYPE_FIXED_IO:
                ACPI_DEBUG_PRINT((ACPI_DB_RESOURCES,
                                     "FixedIo 0x%x/%u\n",
@@ -290,6 +293,10 @@
                                     "Address16 unimplemented\n"));
                break;
 
+       case ACPI_RESOURCE_TYPE_ADDRESS64:
+               ACPI_DEBUG_PRINT((ACPI_DB_RESOURCES,
+                                    "Address64 unimplemented\n"));
+               break;
        case ACPI_RESOURCE_TYPE_EXTENDED_ADDRESS64:
                ACPI_DEBUG_PRINT((ACPI_DB_RESOURCES,
                                     "Extended address64 unimplemented\n"));



Home | Main Index | Thread Index | Old Index