/alps/pcitool

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to dma/nwl.h

  • Committer: Suren A. Chilingaryan
  • Date: 2011-10-26 05:12:31 UTC
  • Revision ID: csa@dside.dyndns.org-20111026051231-5ntkozz31hvjzvb5
Improvements of DMA engine

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
 
9
9
#define NWL_XAUI_ENGINE 0
10
10
#define NWL_XRAWDATA_ENGINE 1
11
 
#define NWL_FIX_EOP_FOR_BIG_PACKETS             // requires precise sizes in read requests
 
11
#define NWL_MAX_PACKET_SIZE 4096 //16384
12
12
//#define NWL_GENERATE_DMA_IRQ
13
13
 
14
14
#define PCILIB_NWL_ALIGNMENT                    64  // in bytes
44
44
 
45
45
 
46
46
struct nwl_dma_s {
 
47
    struct pcilib_dma_context_s dmactx;
 
48
    
47
49
    pcilib_t *pcilib;
48
50
    
49
51
    pcilib_dma_modification_t type;