39 #if !defined(__OCS_H__)
44 #define DRV_NAME "ocsu"
45 #define DRV_VERSION STR_BE_MAJOR "." STR_BE_MINOR "." STR_BE_BUILD "." STR_BE_BRANCH
48 #include "ocs_impl_uspace.h"
49 #include "ocs_driver.h"
52 #define OCS_DRIVE_MAX_EVENT_THREADS 16
54 uint32_t uspace_thread_per_port:1;
55 uint32_t uspace_threads_block:1;
68 static inline bool before(uint32_t seq1, uint32_t seq2)
70 return (int32_t)(seq1-seq2) < 0;
72 #define after(seq2, seq1) before(seq1, seq2)
#define OCS_DRIVE_MAX_EVENT_THREADS
static bool before(uint32_t seq1, uint32_t seq2)