From 7ac0539951ff0eba200e64b850b5181a82915c86 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sat, 16 Jul 2011 06:18:05 +0200 Subject: Implement DMA access synchronization in the driver --- tools.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tools.h') diff --git a/tools.h b/tools.h index 121f1a6..e18a58c 100644 --- a/tools.h +++ b/tools.h @@ -10,6 +10,13 @@ #define min2(a, b) (((a)<(b))?(a):(b)) +typedef enum { + PCILIB_TRISTATE_NO = 0, + PCILIB_TRISTATE_PARTIAL = 1, + PCILIB_TRISTATE_YES = 2 +} pcilib_tristate_t; + + int pcilib_isnumber(const char *str); int pcilib_isxnumber(const char *str); int pcilib_isnumber_n(const char *str, size_t len); -- cgit v1.2.3