diff options
author | arr <arr@FreeBSD.org> | 2002-06-24 05:03:44 +0000 |
---|---|---|
committer | arr <arr@FreeBSD.org> | 2002-06-24 05:03:44 +0000 |
commit | a9c60c7d01d792a0c880fe7f17c555063ac6daf1 (patch) | |
tree | 0aedaccd194d1b31cf0a5f8fecc094e0552782f5 /sys/netatm | |
parent | 5a5ffdbe70097e701e6e8fd144bedfbc6fa57009 (diff) | |
download | FreeBSD-src-a9c60c7d01d792a0c880fe7f17c555063ac6daf1.zip FreeBSD-src-a9c60c7d01d792a0c880fe7f17c555063ac6daf1.tar.gz |
- Remove DMA_* macros as only one, DMA_GET_ADDR, was used.
- Convert DMA_GET_ADDR() calls to vtophys() calls in order to finish
removing the DMA_* macros.
Diffstat (limited to 'sys/netatm')
-rw-r--r-- | sys/netatm/atm_if.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/netatm/atm_if.h b/sys/netatm/atm_if.h index 6af5462..4052f4b 100644 --- a/sys/netatm/atm_if.h +++ b/sys/netatm/atm_if.h @@ -328,14 +328,6 @@ struct atm_ncm { #define ATM_DEV_CMPR_SM MLEN /* Size of small buffers */ /* - * Macros to manage DMA addresses - */ -#define DMA_INIT() -#define DMA_GET_ADDR(addr,len,align,flags) ((void *)vtophys(addr)) -#define DMA_FREE_ADDR(addr,daddr,len,flags) -#define DMA_RELEASE() - -/* * Macros to lock out device interrupts */ #define DEVICE_LOCK(u) ((u)->cu_savepri = splimp()) |