summaryrefslogtreecommitdiffstats
path: root/default.h
diff options
context:
space:
mode:
Diffstat (limited to 'default.h')
-rw-r--r--default.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/default.h b/default.h
new file mode 100644
index 0000000..6345ae8
--- /dev/null
+++ b/default.h
@@ -0,0 +1,9 @@
+#ifndef _PCILIB_DEFAULT_H
+#define _PCILIB_DEFAULT_H
+
+#include "pci.h"
+
+int pcilib_default_read(pcilib_t *ctx, pcilib_register_bank_description_t *bank, pcilib_register_addr_t addr, uint8_t bits, pcilib_register_value_t *value);
+int pcilib_default_write(pcilib_t *ctx, pcilib_register_bank_description_t *bank, pcilib_register_addr_t addr, uint8_t bits, pcilib_register_value_t value);
+
+#endif /* _PCILIB_DEFAULT_H */