Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/include/sys +BUS_DMA_TAG_IS_VALID
details: https://anonhg.NetBSD.org/src/rev/e522a7cb9a34
branches: trunk
changeset: 790175:e522a7cb9a34
user: pooka <pooka%NetBSD.org@localhost>
date: Mon Sep 23 17:57:59 2013 +0000
description:
+BUS_DMA_TAG_IS_VALID
diffstat:
sys/rump/include/sys/bus.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r e128646540ea -r e522a7cb9a34 sys/rump/include/sys/bus.h
--- a/sys/rump/include/sys/bus.h Mon Sep 23 17:27:09 2013 +0000
+++ b/sys/rump/include/sys/bus.h Mon Sep 23 17:57:59 2013 +0000
@@ -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 @@
/* bus dma defs */
typedef void *bus_dma_tag_t;
+#define BUS_DMA_TAG_VALID(_tag_) ((_tag_) != NULL)
typedef struct {
bus_addr_t ds_addr;
Home |
Main Index |
Thread Index |
Old Index