From 3b1886ea2e4a9fd93fecd5047642da509fe9ee73 Mon Sep 17 00:00:00 2001 From: Philip Balister Date: Thu, 7 Jul 2011 11:02:10 -0700 Subject: e100 : Adapt kernel header to work in user space. --- host/lib/usrp/e100/include/linux/usrp_e.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'host/lib/usrp/e100/include') 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; -- cgit v1.2.3