summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_txpreg.h
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-11-05 17:25:59 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-11-05 17:25:59 +0000
commit85530efaf7a6a42f72dd88dd2812fc34f33a931e (patch)
treefe27ed806015eba36ede599b284de31066d02abb /sys/dev/pci/if_txpreg.h
parent6278fb02068a0fc75a8a6ecb4ed0a3292aad76ab (diff)
Switch everything to the new bus_dmamap_sync API.
Most work by Wilbern Cobb <vedge@csoft.org> with some fixes from me, mickey@ and drahn@.
Diffstat (limited to 'sys/dev/pci/if_txpreg.h')
-rw-r--r--sys/dev/pci/if_txpreg.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/dev/pci/if_txpreg.h b/sys/dev/pci/if_txpreg.h
index 9aae779d378..701b138af7e 100644
--- a/sys/dev/pci/if_txpreg.h
+++ b/sys/dev/pci/if_txpreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_txpreg.h,v 1.33 2001/11/02 19:31:00 jason Exp $ */
+/* $OpenBSD: if_txpreg.h,v 1.34 2001/11/05 17:25:58 art Exp $ */
/*
* Copyright (c) 2001 Aaron Campbell <aaron@monkey.org>.
@@ -621,10 +621,3 @@ struct txp_fw_section_header {
#define READ_REG(sc,reg) \
bus_space_read_4((sc)->sc_bt, (sc)->sc_bh, reg)
-#ifdef __HAS_NEW_BUS_DMAMAP_SYNC
-#define txp_bus_dmamap_sync(tag, map, off, len, op) \
- bus_dmamap_sync((tag), (map), (off), (len), (op))
-#else
-#define txp_bus_dmamap_sync(tag, map, off, len, op) \
- bus_dmamap_sync((tag), (map), (op))
-#endif