summaryrefslogtreecommitdiff
path: root/sys/dev/ic/adw.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic/adw.h')
-rw-r--r--sys/dev/ic/adw.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/dev/ic/adw.h b/sys/dev/ic/adw.h
index 2d965d725e1..00eccde2028 100644
--- a/sys/dev/ic/adw.h
+++ b/sys/dev/ic/adw.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: adw.h,v 1.6 2001/01/15 16:27:53 krw Exp $ */
+/* $OpenBSD: adw.h,v 1.7 2001/08/26 02:39:05 krw Exp $ */
/* $NetBSD: adw.h,v 1.9 2000/05/26 15:13:43 dante Exp $ */
/*
@@ -116,4 +116,13 @@ ADW_CCB *adw_ccb_phys_kv __P((ADW_SOFTC *, u_int32_t));
/******************************************************************************/
+#ifdef __HAS_NEW_BUS_DMAMAP_SYNC
+#define adw_bus_dmamap_sync(tag, map, off, len, op) \
+ bus_dmamap_sync((tag), (map), (off), (len), (op))
+#else
+#define adw_bus_dmamap_sync(tag, map, off, len, op) \
+ bus_dmamap_sync((tag), (map), (op))
+#endif
+
+
#endif /* _ADVANSYS_ADW_H_ */