Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-9]: src/sys/arch/arm/acpi Pull up following revision(s) (requeste...
details: https://anonhg.NetBSD.org/src/rev/e9b190c360ea
branches: netbsd-9
changeset: 962751:e9b190c360ea
user: martin <martin%NetBSD.org@localhost>
date: Sun Aug 04 19:24:18 2019 +0000
description:
Pull up following revision(s) (requested by jmcneill in ticket #17):
sys/arch/arm/acpi/acpi_platform.c: revision 1.16
Ignore AccessWidth (PL011 and SBSA console always needs 32-bit access)
diffstat:
sys/arch/arm/acpi/acpi_platform.c | 11 +++--------
1 files changed, 3 insertions(+), 8 deletions(-)
diffs (32 lines):
diff -r f636a5b423b3 -r e9b190c360ea sys/arch/arm/acpi/acpi_platform.c
--- a/sys/arch/arm/acpi/acpi_platform.c Sun Aug 04 19:22:24 2019 +0000
+++ b/sys/arch/arm/acpi/acpi_platform.c Sun Aug 04 19:24:18 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_platform.c,v 1.15 2019/07/24 19:37:52 jmcneill Exp $ */
+/* $NetBSD: acpi_platform.c,v 1.15.2.1 2019/08/04 19:24:18 martin Exp $ */
/*-
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
#include "opt_multiprocessor.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_platform.c,v 1.15 2019/07/24 19:37:52 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_platform.c,v 1.15.2.1 2019/08/04 19:24:18 martin Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -278,12 +278,7 @@
plcom_console.pi_iot = &arm_generic_bs_tag;
plcom_console.pi_iobase = spcr->SerialPort.Address;
plcom_console.pi_size = PL011COM_UART_SIZE;
- if (spcr->InterfaceType == ACPI_DBG2_ARM_SBSA_32BIT) {
- plcom_console.pi_flags = PLC_FLAG_32BIT_ACCESS;
- } else {
- plcom_console.pi_flags = ACPI_ACCESS_BIT_WIDTH(spcr->SerialPort.AccessWidth) == 8 ?
- 0 : PLC_FLAG_32BIT_ACCESS;
- }
+ plcom_console.pi_flags = PLC_FLAG_32BIT_ACCESS;
plcomcnattach(&plcom_console, baud_rate, 0, TTYDEF_CFLAG, -1);
break;
Home |
Main Index |
Thread Index |
Old Index