summaryrefslogtreecommitdiff
path: root/sys/dev/ic/adv.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic/adv.h')
-rw-r--r--sys/dev/ic/adv.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/dev/ic/adv.h b/sys/dev/ic/adv.h
index fc1bec4320e..e3498fb2101 100644
--- a/sys/dev/ic/adv.h
+++ b/sys/dev/ic/adv.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: adv.h,v 1.2 1998/09/28 01:56:57 downsj Exp $ */
+/* $OpenBSD: adv.h,v 1.3 2001/08/26 18:03:07 krw Exp $ */
/* $NetBSD: adv.h,v 1.3 1998/09/26 16:02:56 dante Exp $ */
/*
@@ -93,4 +93,12 @@ int adv_intr __P((void *arg));
/******************************************************************************/
+#ifdef __HAS_NEW_BUS_DMAMAP_SYNC
+#define adv_bus_dmamap_sync(tag, map, off, len, op) \
+ bus_dmamap_sync((tag), (map), (off), (len), (op))
+#else
+#define adv_bus_dmamap_sync(tag, map, off, len, op) \
+ bus_dmamap_sync((tag), (map), (op))
+#endif
+
#endif /* _ADVANSYS_NARROW_H_ */