summaryrefslogtreecommitdiffstats
path: root/pcilib.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2011-12-09 09:30:21 +0100
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2011-12-09 09:30:21 +0100
commit253e5f1ad3526de662e66c12f3e083025436c8e3 (patch)
treef5d64494342ef19fc27a088ee24f5daa3856e06b /pcilib.h
parent097edb90b7826ad7557777cc102de2630f235141 (diff)
downloadpcitool-253e5f1ad3526de662e66c12f3e083025436c8e3.tar.gz
pcitool-253e5f1ad3526de662e66c12f3e083025436c8e3.tar.bz2
pcitool-253e5f1ad3526de662e66c12f3e083025436c8e3.tar.xz
pcitool-253e5f1ad3526de662e66c12f3e083025436c8e3.zip
Parse required event & data_type
Diffstat (limited to 'pcilib.h')
-rw-r--r--pcilib.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/pcilib.h b/pcilib.h
index 18806f9..2eaf63c 100644
--- a/pcilib.h
+++ b/pcilib.h
@@ -60,7 +60,8 @@ typedef enum {
} pcilib_register_protocol_t;
typedef enum {
- PCILIB_EVENT_DATA
+ PCILIB_EVENT_DATA = 0, /**< default data format */
+ PCILIB_EVENT_RAW_DATA = 1 /**< raw data */
} pcilib_event_data_type_t;
typedef enum {
@@ -123,6 +124,7 @@ typedef enum {
#define PCILIB_EVENT3 8
#define PCILIB_EVENTS_ALL ((pcilib_event_t)-1)
#define PCILIB_EVENT_INVALID ((pcilib_event_t)-1)
+#define PCILIB_EVENT_DATA_TYPE_INVALID ((pcilib_event_data_type_t)-1)
#define PCILIB_TIMEOUT_INFINITE ((pcilib_timeout_t)-1)
#define PCILIB_TIMEOUT_IMMEDIATE 0
#define PCILIB_IRQ_SOURCE_DEFAULT 0