diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2015-04-20 22:01:04 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2015-04-20 22:01:04 +0200 |
commit | 77c4d6e67debf0e729734d882df033c4c0f5b0c3 (patch) | |
tree | 4a59e86332d6cc78fc5c97110ecba281b0f67bc9 /config.h | |
parent | 0002c0cc260a6a8e2b6c53f19ae99a625eca4355 (diff) | |
download | pcitool-77c4d6e67debf0e729734d882df033c4c0f5b0c3.tar.gz pcitool-77c4d6e67debf0e729734d882df033c4c0f5b0c3.tar.bz2 pcitool-77c4d6e67debf0e729734d882df033c4c0f5b0c3.tar.xz pcitool-77c4d6e67debf0e729734d882df033c4c0f5b0c3.zip |
Big redign of model structures
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 30 |
1 files changed, 30 insertions, 0 deletions
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 */ |