Module Name: src
Committed By: jakllsch
Date: Sat Jun 22 17:57:10 UTC 2019
Modified Files:
src/sys/arch/arm/fdt: acpi_fdt.c
Log Message:
Restore previous range of aa_dmat.
Should fix ahcisata_acpi on OverDrive 1000, which has no DRAM below 4GiB.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/arm/fdt/acpi_fdt.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/arm/fdt/acpi_fdt.c
diff -u src/sys/arch/arm/fdt/acpi_fdt.c:1.10 src/sys/arch/arm/fdt/acpi_fdt.c:1.11
--- src/sys/arch/arm/fdt/acpi_fdt.c:1.10 Wed Jun 19 13:39:18 2019
+++ src/sys/arch/arm/fdt/acpi_fdt.c Sat Jun 22 17:57:10 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_fdt.c,v 1.10 2019/06/19 13:39:18 jmcneill Exp $ */
+/* $NetBSD: acpi_fdt.c,v 1.11 2019/06/22 17:57:10 jakllsch Exp $ */
/*-
* Copyright (c) 2015-2017 Jared McNeill <[email protected]>
@@ -30,7 +30,7 @@
#include "opt_efi.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_fdt.c,v 1.10 2019/06/19 13:39:18 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_fdt.c,v 1.11 2019/06/22 17:57:10 jakllsch Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -70,7 +70,6 @@ static int acpi_fdt_efi_rtc_settime(todr
static void acpi_fdt_sysctl_init(void);
-extern struct arm32_bus_dma_tag acpi_coherent32_dma_tag;
extern struct arm32_bus_dma_tag acpi_coherent64_dma_tag;
#if NPCI > 0
@@ -137,7 +136,7 @@ acpi_fdt_attach(device_t parent, device_
#endif
aa.aa_memt = faa->faa_bst;
- aa.aa_dmat = &acpi_coherent32_dma_tag;
+ aa.aa_dmat = &acpi_coherent64_dma_tag;
#ifdef _PCI_HAVE_DMA64
aa.aa_dmat64 = &acpi_coherent64_dma_tag;
#endif