Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/acpi Use the ACPICA define ACPI_DBG2_16550_WITH...



details:   https://anonhg.NetBSD.org/src/rev/1b5d6b9a7238
branches:  trunk
changeset: 369887:1b5d6b9a7238
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue Sep 06 11:55:51 2022 +0000

description:
Use the ACPICA define ACPI_DBG2_16550_WITH_GAS

diffstat:

 sys/arch/arm/acpi/acpi_platform.c |  8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diffs (36 lines):

diff -r abf390364181 -r 1b5d6b9a7238 sys/arch/arm/acpi/acpi_platform.c
--- a/sys/arch/arm/acpi/acpi_platform.c Tue Sep 06 11:55:07 2022 +0000
+++ b/sys/arch/arm/acpi/acpi_platform.c Tue Sep 06 11:55:51 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_platform.c,v 1.32 2021/10/24 11:58:23 jmcneill Exp $ */
+/* $NetBSD: acpi_platform.c,v 1.33 2022/09/06 11:55:51 skrll Exp $ */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
 #include "opt_multiprocessor.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_platform.c,v 1.32 2021/10/24 11:58:23 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_platform.c,v 1.33 2022/09/06 11:55:51 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -83,8 +83,6 @@
 
 #include <libfdt.h>
 
-#define        ACPI_DBG2_16550_GAS                     0x0012
-
 #define        SPCR_BAUD_DEFAULT                       0
 #define        SPCR_BAUD_9600                          3
 #define        SPCR_BAUD_19200                         4
@@ -203,7 +201,7 @@
 #if NCOM > 0
        case ACPI_DBG2_16550_COMPATIBLE:
        case ACPI_DBG2_16550_SUBSET:
-       case ACPI_DBG2_16550_GAS:
+       case ACPI_DBG2_16550_WITH_GAS:
                memset(&dummy_bsh, 0, sizeof(dummy_bsh));
                switch (spcr->SerialPort.BitWidth) {
                case 8:



Home | Main Index | Thread Index | Old Index