Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/ia64 Rename ACPI_NAME_SIZE -> ACPI_NAMESEG_SIZE wit...



details:   https://anonhg.NetBSD.org/src/rev/0db7ac313231
branches:  trunk
changeset: 450914:0db7ac313231
user:      scole <scole%NetBSD.org@localhost>
date:      Mon Apr 29 16:39:58 2019 +0000

description:
Rename ACPI_NAME_SIZE -> ACPI_NAMESEG_SIZE with acpica update, see
src/sys/external/bsd/acpica/dist/changes.txt

diffstat:

 sys/arch/ia64/acpi/madt.c    |  6 +++---
 sys/arch/ia64/ia64/mainbus.c |  6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r 2237fbccb4c6 -r 0db7ac313231 sys/arch/ia64/acpi/madt.c
--- a/sys/arch/ia64/acpi/madt.c Mon Apr 29 16:12:30 2019 +0000
+++ b/sys/arch/ia64/acpi/madt.c Mon Apr 29 16:39:58 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: madt.c,v 1.3 2013/04/07 07:37:51 kiyohara Exp $        */
+/*     $NetBSD: madt.c,v 1.4 2019/04/29 16:39:58 scole Exp $   */
 /*-
  * Copyright (c) 2001 Doug Rabson
  * All rights reserved.
@@ -148,7 +148,7 @@
                            table->Header.Signature[3], table);
 
                if (strncmp(table->Header.Signature, ACPI_SIG_MADT,
-                   ACPI_NAME_SIZE) != 0 ||
+                   ACPI_NAMESEG_SIZE) != 0 ||
                    ACPI_FAILURE(AcpiTbChecksum((void *)table,
                    table->Header.Length)))
                        continue;
@@ -242,7 +242,7 @@
                    IA64_PHYS_TO_RR7(xsdt->TableOffsetEntry[t]);
 
                if (strncmp(table->Header.Signature, ACPI_SIG_MADT,
-                   ACPI_NAME_SIZE) != 0 ||
+                   ACPI_NAMESEG_SIZE) != 0 ||
                    ACPI_FAILURE(AcpiTbChecksum((void *)table,
                        table->Header.Length)))
                        continue;
diff -r 2237fbccb4c6 -r 0db7ac313231 sys/arch/ia64/ia64/mainbus.c
--- a/sys/arch/ia64/ia64/mainbus.c      Mon Apr 29 16:12:30 2019 +0000
+++ b/sys/arch/ia64/ia64/mainbus.c      Mon Apr 29 16:39:58 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mainbus.c,v 1.10 2016/06/21 11:33:33 nonaka Exp $      */
+/*     $NetBSD: mainbus.c,v 1.11 2019/04/29 16:39:58 scole Exp $       */
 
 /*-
  * Copyright (c) 2006 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.10 2016/06/21 11:33:33 nonaka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.11 2019/04/29 16:39:58 scole Exp $");
 
 #include "acpica.h"
 
@@ -95,7 +95,7 @@
                    IA64_PHYS_TO_RR7(xsdt->TableOffsetEntry[i]);
 
                sig = table->Header.Signature;
-               if (strncmp(sig, ACPI_SIG_MADT, ACPI_NAME_SIZE) != 0)
+               if (strncmp(sig, ACPI_SIG_MADT, ACPI_NAMESEG_SIZE) != 0)
                        continue;
                len = table->Header.Length;
                if (ACPI_FAILURE(AcpiTbChecksum((void *)table, len)))



Home | Main Index | Thread Index | Old Index