/***************************************************************************
*	NAME:  DMA.H $Revision: 1.2 $
**	COPYRIGHT:
**	"Copyright (c) 1994,1995 by e-Tek Labs"
**
**       "This software is furnished under a license and may be used,
**       copied, or disclosed only in accordance with the terms of such
**       license and with the inclusion of the above copyright notice.
**       This software or any other copies thereof may not be provided or
**       otherwise made available to any other person. No title to and
**       ownership of the software is hereby transfered."
****************************************************************************
* $Log: dma.h $
* Revision 1.2  1995/02/24 13:51:11  mleibow
* Revision 1.1  1995/02/23 11:06:58  unknown
* Initial revision
***************************************************************************/

#ifndef DMA_H
#define DMA_H

volatile struct iwl_dma_parms {
        unsigned short dma_channel;
	unsigned short current_addr;
	unsigned short current_page;
	unsigned long size;
	unsigned long amount_to_xfer;
	unsigned long amount_xferred;
	unsigned char dma_control;
	unsigned char dma_active;
	unsigned short flags;
};

extern volatile struct iwl_dma_parms iwl_dma_parms[NUM_CHANNELS];
extern void iwl_set_dma_active_state(int, int);
extern int iwl_set_synth_record_dma(int, struct iw_dma_buff RFAR *, unsigned char);
#endif
