Module Name:    src
Committed By:   dyoung
Date:           Wed Aug 31 20:21:06 UTC 2011

Modified Files:
        src/sys/arch/x86/include: bus_private.h

Log Message:
Add override members to x86_bus_dma_tag.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/x86/include/bus_private.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/x86/include/bus_private.h
diff -u src/sys/arch/x86/include/bus_private.h:1.12 src/sys/arch/x86/include/bus_private.h:1.13
--- src/sys/arch/x86/include/bus_private.h:1.12	Fri Nov 12 13:40:11 2010
+++ src/sys/arch/x86/include/bus_private.h	Wed Aug 31 20:21:06 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: bus_private.h,v 1.12 2010/11/12 13:40:11 uebayasi Exp $	*/
+/*	$NetBSD: bus_private.h,v 1.13 2011/08/31 20:21:06 dyoung Exp $	*/
 /*	NetBSD: bus.h,v 1.8 2005/03/09 19:04:46 matt Exp	*/
 
 /*-
@@ -192,6 +192,15 @@
 #endif
 
 struct x86_bus_dma_tag {
+	bus_dma_tag_t				bdt_super;
+	/* bdt_present: bitmap indicating overrides present (1) in *this* tag,
+	 * bdt_exists: bitmap indicating overrides present (1) in *this* tag
+	 * or in an ancestor's tag (follow bdt_super to ancestors)
+	 */
+	uint64_t				bdt_present;
+	uint64_t				bdt_exists;
+	const struct bus_dma_overrides		*bdt_ov;
+	void					*bdt_ctx;
 	/*
 	 * The `bounce threshold' is checked while we are loading
 	 * the DMA map.  If the physical address of the segment

Reply via email to