Module Name:    src
Committed By:   pooka
Date:           Mon Sep 23 17:57:59 UTC 2013

Modified Files:
        src/sys/rump/include/sys: bus.h

Log Message:
+BUS_DMA_TAG_IS_VALID


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/rump/include/sys/bus.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/rump/include/sys/bus.h
diff -u src/sys/rump/include/sys/bus.h:1.2 src/sys/rump/include/sys/bus.h:1.3
--- src/sys/rump/include/sys/bus.h:1.2	Sun Sep 22 20:51:18 2013
+++ src/sys/rump/include/sys/bus.h	Mon Sep 23 17:57:59 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: bus.h,v 1.2 2013/09/22 20:51:18 pooka Exp $	*/
+/*	$NetBSD: bus.h,v 1.3 2013/09/23 17:57:59 pooka Exp $	*/
 
 /*
  * Copyright (c) 2010 Antti Kantee.  All Rights Reserved.
@@ -42,6 +42,7 @@ typedef int bus_space_handle_t;
 
 /* bus dma defs */
 typedef void *bus_dma_tag_t;
+#define BUS_DMA_TAG_VALID(_tag_) ((_tag_) != NULL)
 
 typedef struct {
 	bus_addr_t ds_addr;

Reply via email to