Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/marvell Correct bus_dmamap_sync operaion.
details: https://anonhg.NetBSD.org/src/rev/a84a541fcfb0
branches: trunk
changeset: 343536:a84a541fcfb0
user: hikaru <hikaru%NetBSD.org@localhost>
date: Sat Feb 13 05:21:11 2016 +0000
description:
Correct bus_dmamap_sync operaion.
diffstat:
sys/dev/marvell/if_mvxpe.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 773f4e6180aa -r a84a541fcfb0 sys/dev/marvell/if_mvxpe.c
--- a/sys/dev/marvell/if_mvxpe.c Sat Feb 13 03:33:02 2016 +0000
+++ b/sys/dev/marvell/if_mvxpe.c Sat Feb 13 05:21:11 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_mvxpe.c,v 1.4 2016/02/13 03:33:02 hikaru Exp $ */
+/* $NetBSD: if_mvxpe.c,v 1.5 2016/02/13 05:21:11 hikaru Exp $ */
/*
* Copyright (c) 2015 Internet Initiative Japan Inc.
* All rights reserved.
@@ -25,7 +25,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_mvxpe.c,v 1.4 2016/02/13 03:33:02 hikaru Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_mvxpe.c,v 1.5 2016/02/13 05:21:11 hikaru Exp $");
#include "opt_multiprocessor.h"
@@ -2130,7 +2130,7 @@
MVXPE_TX_MBUF(sc, q, tx->tx_cpu) = m;
bus_dmamap_sync(sc->sc_dmat,
MVXPE_TX_MAP(sc, q, tx->tx_cpu), 0, m->m_pkthdr.len,
- BUS_DMASYNC_PREWRITE|BUS_DMASYNC_PREWRITE);
+ BUS_DMASYNC_PREREAD|BUS_DMASYNC_PREWRITE);
/* load to tx descriptors */
start = tx->tx_cpu;
Home |
Main Index |
Thread Index |
Old Index