summaryrefslogtreecommitdiffstats
path: root/pcilib/register.h
diff options
context:
space:
mode:
Diffstat (limited to 'pcilib/register.h')
-rw-r--r--pcilib/register.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pcilib/register.h b/pcilib/register.h
index 89673ec..7514943 100644
--- a/pcilib/register.h
+++ b/pcilib/register.h
@@ -4,6 +4,9 @@
#include <pcilib.h>
#include <pcilib/bank.h>
+#define PCILIB_REGISTER_NO_BITS 0
+#define PCILIB_REGISTER_ALL_BITS ((pcilib_register_value_t)-1)
+
typedef enum {
PCILIB_REGISTER_R = 1, /**< reading from register is allowed */
PCILIB_REGISTER_W = 2, /**< normal writting to register is allowed */