summaryrefslogtreecommitdiffstats
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h30
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 */