Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/broadcom disable DMA for now...



details:   https://anonhg.NetBSD.org/src/rev/0bf27be8fd84
branches:  trunk
changeset: 1022809:0bf27be8fd84
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun Aug 08 10:59:27 2021 +0000

description:
disable DMA for now...

diffstat:

 sys/arch/arm/broadcom/bcm2838_emmc2_acpi.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 6b338fa19287 -r 0bf27be8fd84 sys/arch/arm/broadcom/bcm2838_emmc2_acpi.c
--- a/sys/arch/arm/broadcom/bcm2838_emmc2_acpi.c        Sun Aug 08 10:48:35 2021 +0000
+++ b/sys/arch/arm/broadcom/bcm2838_emmc2_acpi.c        Sun Aug 08 10:59:27 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bcm2838_emmc2_acpi.c,v 1.1 2021/08/08 10:32:26 jmcneill Exp $  */
+/*     $NetBSD: bcm2838_emmc2_acpi.c,v 1.2 2021/08/08 10:59:27 jmcneill Exp $  */
 
 /*
  * Copyright (c) 2021 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bcm2838_emmc2_acpi.c,v 1.1 2021/08/08 10:32:26 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bcm2838_emmc2_acpi.c,v 1.2 2021/08/08 10:59:27 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -119,8 +119,10 @@
         * disable UHS modes.
         */
        sc->sc.sc_flags = SDHC_FLAG_32BIT_ACCESS |
+#if notyet
                          SDHC_FLAG_USE_DMA |
                          SDHC_FLAG_USE_ADMA2 |
+#endif
                          SDHC_FLAG_NO_1_8_V;
 
        sc->sc_ih = acpi_intr_establish(self,



Home | Main Index | Thread Index | Old Index