Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys add BUS_DMA_PREFETCHABLE flag for bus_dmamem_map(), ...
details: https://anonhg.NetBSD.org/src/rev/08b356f3da55
branches: trunk
changeset: 784629:08b356f3da55
user: macallan <macallan%NetBSD.org@localhost>
date: Mon Feb 04 13:18:35 2013 +0000
description:
add BUS_DMA_PREFETCHABLE flag for bus_dmamem_map(), analog to
BUS_SPACE_MAP_PREFETCHABLE
diffstat:
sys/sys/bus_proto.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 185a669b27c7 -r 08b356f3da55 sys/sys/bus_proto.h
--- a/sys/sys/bus_proto.h Mon Feb 04 11:02:32 2013 +0000
+++ b/sys/sys/bus_proto.h Mon Feb 04 13:18:35 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus_proto.h,v 1.6 2011/08/17 10:46:38 martin Exp $ */
+/* $NetBSD: bus_proto.h,v 1.7 2013/02/04 13:18:35 macallan Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 2001, 2007 The NetBSD Foundation, Inc.
@@ -319,6 +319,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 */
/* Operations performed by bus_dmamap_sync(). */
#define BUS_DMASYNC_PREREAD 0x01 /* pre-read synchronization */
Home |
Main Index |
Thread Index |
Old Index