Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/include add missing BUS_DMA_PREFETCHABLE
details: https://anonhg.NetBSD.org/src/rev/24459ff9de01
branches: trunk
changeset: 448686:24459ff9de01
user: mrg <mrg%NetBSD.org@localhost>
date: Thu Feb 07 04:32:54 2019 +0000
description:
add missing BUS_DMA_PREFETCHABLE
diffstat:
sys/arch/mips/include/bus_dma_defs.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 12e685ec42a4 -r 24459ff9de01 sys/arch/mips/include/bus_dma_defs.h
--- a/sys/arch/mips/include/bus_dma_defs.h Thu Feb 07 04:32:38 2019 +0000
+++ b/sys/arch/mips/include/bus_dma_defs.h Thu Feb 07 04:32:54 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus_dma_defs.h,v 1.3 2016/07/30 06:28:05 matt Exp $ */
+/* $NetBSD: bus_dma_defs.h,v 1.4 2019/02/07 04:32:54 mrg Exp $ */
/*-
* Copyright (c) 1997, 1998, 2000, 2001 The NetBSD Foundation, Inc.
@@ -82,6 +82,8 @@
#define BUS_DMA_READ 0x100 /* mapping is device -> memory only */
#define BUS_DMA_WRITE 0x200 /* mapping is memory -> device only */
#define BUS_DMA_NOCACHE 0x400 /* hint: map non-cached memory */
+#define BUS_DMA_PREFETCHABLE 0x800 /* hint: map non-cached but allow
+ * things like write combining */
/*
* Private flags stored in the DMA map.
Home |
Main Index |
Thread Index |
Old Index