From 8d3ad26d8331c43659d0d4e77e8a50fbc3cfc1e4 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Mon, 27 Apr 2015 01:54:44 +0200 Subject: Further adjustments to get ready for independent event plugins --- pcilib/config.c | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 pcilib/config.c (limited to 'pcilib/config.c') diff --git a/pcilib/config.c b/pcilib/config.c deleted file mode 100644 index 21a0e53..0000000 --- a/pcilib/config.c +++ /dev/null @@ -1,37 +0,0 @@ -#define _PCILIB_CONFIG_C - -#include - -#include "error.h" -#include "config.h" - -#include "protocols/default.h" - - -void (*pcilib_error)(const char *msg, ...) = pcilib_print_error; -void (*pcilib_warning)(const char *msg, ...) = pcilib_print_error; - - -const pcilib_register_protocol_description_t pcilib_protocols[] = { - { PCILIB_REGISTER_PROTOCOL_DEFAULT, &pcilib_default_protocol_api, NULL, NULL, "default", "" }, - { 0 } -}; - -#include "dma/nwl.h" -#include "dma/ipe.h" - - -const pcilib_dma_description_t pcilib_ipedma = - { &ipe_dma_api, ipe_dma_banks, ipe_dma_registers, ipe_dma_engines, NULL, NULL, "ipedma", "DMA engine developed by M. Caselle" }; - -const pcilib_dma_description_t pcilib_nwldma = - { &nwl_dma_api, nwl_dma_banks, nwl_dma_registers, NULL, NULL, NULL, "nwldma", "North West Logic DMA Engine" }; - -const pcilib_dma_description_t pcilib_dma[] = { - { &ipe_dma_api, ipe_dma_banks, ipe_dma_registers, ipe_dma_engines, NULL, NULL, "ipedma", "DMA engine developed by M. Caselle" }, - { &nwl_dma_api, nwl_dma_banks, nwl_dma_registers, NULL, NULL, NULL, "nwldma", "North West Logic DMA Engine" }, - { &nwl_dma_api, nwl_dma_banks, nwl_dma_registers, NULL, "ipecamera", NULL, "nwldma-ipe", "North West Logic DMA Engine" }, - { 0 } -}; - - -- cgit v1.2.3