summaryrefslogtreecommitdiffstats
path: root/tools.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2011-07-17 03:37:29 +0200
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2011-07-17 03:37:29 +0200
commit112030c40f88dde281073e00e4c24cc48daa99d2 (patch)
treef6486582ee46a2b3b48bba5bc9d96c8432d0b7dc /tools.h
parent7ac0539951ff0eba200e64b850b5181a82915c86 (diff)
downloadpcitool-112030c40f88dde281073e00e4c24cc48daa99d2.tar.gz
pcitool-112030c40f88dde281073e00e4c24cc48daa99d2.tar.bz2
pcitool-112030c40f88dde281073e00e4c24cc48daa99d2.tar.xz
pcitool-112030c40f88dde281073e00e4c24cc48daa99d2.zip
Implement DMA access synchronization for NWL implementation
Diffstat (limited to 'tools.h')
-rw-r--r--tools.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools.h b/tools.h
index e18a58c..9068ad5 100644
--- a/tools.h
+++ b/tools.h
@@ -4,8 +4,6 @@
#include <stdio.h>
#include <stdint.h>
-#include "pci.h"
-
#define BIT_MASK(bits) ((1ll << (bits)) - 1)
#define min2(a, b) (((a)<(b))?(a):(b))
@@ -16,6 +14,7 @@ typedef enum {
PCILIB_TRISTATE_YES = 2
} pcilib_tristate_t;
+#include "pci.h"
int pcilib_isnumber(const char *str);
int pcilib_isxnumber(const char *str);