diff options
author | Philip Balister <philip@opensdr.com> | 2011-07-07 11:02:10 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-07-08 13:11:42 -0700 |
commit | 3b1886ea2e4a9fd93fecd5047642da509fe9ee73 (patch) | |
tree | 6475d0ce94dbe94317f1c46dfbef9c35b23e3fec /host/lib/usrp | |
parent | d69c10df10bae6b6f6b7f7af769aae5c0500f0d8 (diff) | |
download | uhd-3b1886ea2e4a9fd93fecd5047642da509fe9ee73.tar.gz uhd-3b1886ea2e4a9fd93fecd5047642da509fe9ee73.tar.bz2 uhd-3b1886ea2e4a9fd93fecd5047642da509fe9ee73.zip |
e100 : Adapt kernel header to work in user space.
Diffstat (limited to 'host/lib/usrp')
-rw-r--r-- | host/lib/usrp/e100/include/linux/usrp_e.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/host/lib/usrp/e100/include/linux/usrp_e.h b/host/lib/usrp/e100/include/linux/usrp_e.h index d5669500b..2c4aa2ac1 100644 --- a/host/lib/usrp/e100/include/linux/usrp_e.h +++ b/host/lib/usrp/e100/include/linux/usrp_e.h @@ -39,10 +39,11 @@ struct usrp_e_ctl32 { #define USRP_E_COMPAT_NUMBER 2 /* Flag defines */ -#define RB_USER (BIT(0)) -#define RB_KERNEL (BIT(1)) -#define RB_OVERRUN (BIT(2)) -#define RB_DMA_ACTIVE (BIT(3)) +#define RB_USER (1<<0) +#define RB_KERNEL (1<<1) +#define RB_OVERRUN (1<<2) +#define RB_DMA_ACTIVE (1<<3) +#define RB_USER_PROCESS (1<<4) struct ring_buffer_info { int flags; |