From 77c4d6e67debf0e729734d882df033c4c0f5b0c3 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Mon, 20 Apr 2015 22:01:04 +0200 Subject: Big redign of model structures --- config.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 config.h (limited to 'config.h') diff --git a/config.h b/config.h new file mode 100644 index 0000000..3ba92ee --- /dev/null +++ b/config.h @@ -0,0 +1,30 @@ +#ifndef _PCILIB_CONFIG_H +#define _PCILIB_CONFIG_H + + +#include "register.h" +#include "dma.h" + +/* +typedef struct { + const char *alias; + pcilib_register_protocol_description_t *protocol; +} pcilib_register_protocol_alias_t; + + +typedef struct { + const char *alias; + pcilib_dma_description_t dma; +} pcilib_dma_alias_t; + +extern pcilib_register_protocol_alias_t pcilib_protocols[]; +extern pcilib_dma_alias_t pcilib_dma[]; +*/ + +extern const pcilib_register_protocol_description_t pcilib_protocols[]; +extern const pcilib_dma_description_t pcilib_dma[]; + + +//extern const pcilib_register_protocol_description_t *pcilib_protocol_default; + +#endif /* _PCILIB_CONFIG_H */ -- cgit v1.2.3