Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/sunxi Fix maximum xfer length for sun7i-a20 com...



details:   https://anonhg.NetBSD.org/src/rev/603ef564fdd3
branches:  trunk
changeset: 826942:603ef564fdd3
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sat Oct 07 12:21:53 2017 +0000

description:
Fix maximum xfer length for sun7i-a20 compatible controllers

diffstat:

 sys/arch/arm/sunxi/sunxi_mmc.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 2ff7f16b518a -r 603ef564fdd3 sys/arch/arm/sunxi/sunxi_mmc.c
--- a/sys/arch/arm/sunxi/sunxi_mmc.c    Sat Oct 07 10:32:56 2017 +0000
+++ b/sys/arch/arm/sunxi/sunxi_mmc.c    Sat Oct 07 12:21:53 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sunxi_mmc.c,v 1.7 2017/09/11 22:00:05 jmcneill Exp $ */
+/* $NetBSD: sunxi_mmc.c,v 1.8 2017/10/07 12:21:53 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2014-2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sunxi_mmc.c,v 1.7 2017/09/11 22:00:05 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sunxi_mmc.c,v 1.8 2017/10/07 12:21:53 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -179,7 +179,7 @@
 };
 
 static const struct sunxi_mmc_config sun7i_a20_mmc_config = {
-       .idma_xferlen = 0x10000,
+       .idma_xferlen = 0x2000,
        .dma_ftrglevel = 0x20070008,
        .delays = sunxi_mmc_delays,
        .flags = 0,



Home | Main Index | Thread Index | Old Index