diff options
| author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2011-07-16 06:18:05 +0200 | 
|---|---|---|
| committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2011-07-16 06:18:05 +0200 | 
| commit | 7ac0539951ff0eba200e64b850b5181a82915c86 (patch) | |
| tree | 6d41563807fcadcbf03eb756d8d7d191d3d4446c /tools.h | |
| parent | b3e8d49f41b18d17b40bd8f6926d7db54981e89e (diff) | |
Implement DMA access synchronization in the driver
Diffstat (limited to 'tools.h')
| -rw-r--r-- | tools.h | 7 | 
1 files changed, 7 insertions, 0 deletions
| @@ -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); | 
