From a008b10d8488ef905a43de00ee5c8efd03b03ed6 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Wed, 9 Mar 2011 16:55:27 +0100 Subject: Support for FPGA registers --- default.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 default.h (limited to 'default.h') 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 */ -- cgit v1.2.3 From 134e2cc87d524bbb63c2e73dc1bb1fd8c0449ae1 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Wed, 9 Mar 2011 17:32:01 +0100 Subject: Provide single header for library --- default.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'default.h') diff --git a/default.h b/default.h index 6345ae8..927921b 100644 --- a/default.h +++ b/default.h @@ -1,7 +1,7 @@ #ifndef _PCILIB_DEFAULT_H #define _PCILIB_DEFAULT_H -#include "pci.h" +#include "pcilib.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); -- cgit v1.2.3