Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/fdt Restore previous range of aa_dmat.



details:   https://anonhg.NetBSD.org/src/rev/fbec4a38e931
branches:  trunk
changeset: 999890:fbec4a38e931
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Sat Jun 22 17:57:10 2019 +0000

description:
Restore previous range of aa_dmat.

Should fix ahcisata_acpi on OverDrive 1000, which has no DRAM below 4GiB.

diffstat:

 sys/arch/arm/fdt/acpi_fdt.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (35 lines):

diff -r 92ea35765835 -r fbec4a38e931 sys/arch/arm/fdt/acpi_fdt.c
--- a/sys/arch/arm/fdt/acpi_fdt.c       Sat Jun 22 17:57:01 2019 +0000
+++ b/sys/arch/arm/fdt/acpi_fdt.c       Sat Jun 22 17:57:10 2019 +0000
@@ -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 <jmcneill%invisible.ca@localhost>
@@ -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 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 @@
 #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



Home | Main Index | Thread Index | Old Index