/alps/pcitool

To get this branch, use:
bzr branch http://darksoft.org/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to pcilib/config.c

  • Committer: Suren A. Chilingaryan
  • Date: 2015-04-24 03:35:48 UTC
  • Revision ID: csa@suren.me-20150424033548-7xhacqq2s8s1t2fp
More structural changes to get ready for stand-alone event engines

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
#include <stdio.h>
4
4
 
5
 
#include "model.h"
6
5
#include "error.h"
7
6
#include "config.h"
8
7
 
18
17
    { 0 }
19
18
};
20
19
 
21
 
//static const pcilib_register_protocol_description_t *pcilib_protocol_default = NULL;//{0};//&pcilib_protocols[0];
22
 
 
23
20
#include "dma/nwl.h"
24
21
#include "dma/ipe.h"
25
22
 
26
23
 
27
 
/*
28
 
pcilib_register_protocol_alias_t pcilib_protocols[] = {
29
 
    { "default",        { &pcilib_default_protocol_api, PCILIB_REGISTER_PROTOCOL_MODIFICATION_DEFAULT, NULL } },
30
 
    { NULL,             {0} }
31
 
};
32
 
*/
33
 
 
34
 
 
35
 
const pcilib_dma_description_t pcilib_dma[] = {
 
24
const pcilib_dma_description_t pcilib_ipedma = 
 
25
    { &ipe_dma_api, ipe_dma_banks, ipe_dma_registers, ipe_dma_engines, NULL, NULL, "ipedma", "DMA engine developed by M. Caselle" };
 
26
 
 
27
const pcilib_dma_description_t pcilib_nwldma =
 
28
    { &nwl_dma_api, nwl_dma_banks, nwl_dma_registers, NULL, NULL, NULL, "nwldma", "North West Logic DMA Engine" };
 
29
 
 
30
const pcilib_dma_description_t pcilib_dma[] = { 
36
31
    { &ipe_dma_api, ipe_dma_banks, ipe_dma_registers, ipe_dma_engines, NULL, NULL, "ipedma", "DMA engine developed by M. Caselle" },
37
32
    { &nwl_dma_api, nwl_dma_banks, nwl_dma_registers, NULL, NULL, NULL, "nwldma", "North West Logic DMA Engine" },
38
33
    { &nwl_dma_api, nwl_dma_banks, nwl_dma_registers, NULL, "ipecamera", NULL, "nwldma-ipe", "North West Logic DMA Engine" },
39
34
    { 0 }
40
35
};
 
36
 
 
37