diff options
Diffstat (limited to 'sys/dev/ic/iha.h')
-rw-r--r-- | sys/dev/ic/iha.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/sys/dev/ic/iha.h b/sys/dev/ic/iha.h index dcfecb3b2e3..1f1aa3e7592 100644 --- a/sys/dev/ic/iha.h +++ b/sys/dev/ic/iha.h @@ -1,4 +1,4 @@ -/* $OpenBSD: iha.h,v 1.6 2001/07/13 04:27:09 krw Exp $ */ +/* $OpenBSD: iha.h,v 1.7 2001/08/26 02:39:05 krw Exp $ */ /* * Initio INI-9xxxU/UW SCSI Device Driver * @@ -446,8 +446,13 @@ int iha_intr __P((void *)); void iha_minphys __P((struct buf *)); int iha_init_tulip __P((struct iha_softc *)); - - +#ifdef __HAS_NEW_BUS_DMAMAP_SYNC +#define iha_bus_dmamap_sync(tag, map, off, len, op) \ + bus_dmamap_sync((tag), (map), (off), (len), (op)) +#else +#define iha_bus_dmamap_sync(tag, map, off, len, op) \ + bus_dmamap_sync((tag), (map), (op)) +#endif |