Source-Changes-HG archive

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

[src/netbsd-7]: src/sys/dev/ic Pull up following revision(s) (requested by jm...



details:   https://anonhg.NetBSD.org/src/rev/787d95485231
branches:  netbsd-7
changeset: 799579:787d95485231
user:      snj <snj%NetBSD.org@localhost>
date:      Mon Aug 31 01:53:54 2015 +0000

description:
Pull up following revision(s) (requested by jmcneill in ticket #958):
        sys/dev/ic/dwc_gmac.c: revision 1.34
No need to BUS_DMASYNC_PREREAD the transmit data buffer. Fixes "NFS writes
being corrupted?" issue on ODROID-C1 as seen on port-arm.

diffstat:

 sys/dev/ic/dwc_gmac.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 9fa5f2e1ffe5 -r 787d95485231 sys/dev/ic/dwc_gmac.c
--- a/sys/dev/ic/dwc_gmac.c     Sun Aug 30 09:59:10 2015 +0000
+++ b/sys/dev/ic/dwc_gmac.c     Mon Aug 31 01:53:54 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dwc_gmac.c,v 1.24.2.7 2015/02/27 07:19:22 snj Exp $ */
+/* $NetBSD: dwc_gmac.c,v 1.24.2.8 2015/08/31 01:53:54 snj Exp $ */
 
 /*-
  * Copyright (c) 2013, 2014 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(1, "$NetBSD: dwc_gmac.c,v 1.24.2.7 2015/02/27 07:19:22 snj Exp $");
+__KERNEL_RCSID(1, "$NetBSD: dwc_gmac.c,v 1.24.2.8 2015/08/31 01:53:54 snj Exp $");
 
 /* #define     DWC_GMAC_DEBUG  1 */
 
@@ -912,7 +912,7 @@
        data->td_active = map;
 
        bus_dmamap_sync(sc->sc_dmat, map, 0, map->dm_mapsize,
-           BUS_DMASYNC_PREREAD|BUS_DMASYNC_PREWRITE);
+           BUS_DMASYNC_PREWRITE);
 
        /* Pass first to device */
        sc->sc_txq.t_desc[first].ddesc_status =



Home | Main Index | Thread Index | Old Index