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 Single mappings are translated to OutputBa...
details: https://anonhg.NetBSD.org/src/rev/c94430c9895d
branches: trunk
changeset: 848708:c94430c9895d
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Fri Feb 07 00:35:00 2020 +0000
description:
Single mappings are translated to OutputBase, not InputBase
diffstat:
sys/arch/arm/acpi/acpi_iort.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r a7ee41350ae5 -r c94430c9895d sys/arch/arm/acpi/acpi_iort.c
--- a/sys/arch/arm/acpi/acpi_iort.c Fri Feb 07 00:04:28 2020 +0000
+++ b/sys/arch/arm/acpi/acpi_iort.c Fri Feb 07 00:35:00 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_iort.c,v 1.1 2018/12/08 15:04:40 jmcneill Exp $ */
+/* $NetBSD: acpi_iort.c,v 1.2 2020/02/07 00:35:00 jmcneill Exp $ */
/*-
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_iort.c,v 1.1 2018/12/08 15:04:40 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_iort.c,v 1.2 2020/02/07 00:35:00 jmcneill Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -51,7 +51,7 @@
for (n = 0; n < node->MappingCount; n++) {
map = ACPI_ADD_PTR(ACPI_IORT_ID_MAPPING, node, offset);
if (map->Flags & ACPI_IORT_ID_SINGLE_MAPPING) {
- *id = map->InputBase;
+ *id = map->OutputBase;
return map;
}
if (*id >= map->InputBase && *id <= map->InputBase + map->IdCount) {
Home |
Main Index |
Thread Index |
Old Index