From 85530efaf7a6a42f72dd88dd2812fc34f33a931e Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Mon, 5 Nov 2001 17:25:59 +0000 Subject: Switch everything to the new bus_dmamap_sync API. Most work by Wilbern Cobb with some fixes from me, mickey@ and drahn@. --- sys/dev/ic/adw.h | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'sys/dev/ic/adw.h') diff --git a/sys/dev/ic/adw.h b/sys/dev/ic/adw.h index 00eccde2028..a2ee9d74e27 100644 --- a/sys/dev/ic/adw.h +++ b/sys/dev/ic/adw.h @@ -1,4 +1,4 @@ -/* $OpenBSD: adw.h,v 1.7 2001/08/26 02:39:05 krw Exp $ */ +/* $OpenBSD: adw.h,v 1.8 2001/11/05 17:25:58 art Exp $ */ /* $NetBSD: adw.h,v 1.9 2000/05/26 15:13:43 dante Exp $ */ /* @@ -116,13 +116,4 @@ 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_ */ -- cgit v1.2.3