aboutsummaryrefslogtreecommitdiffstats
path: root/host/include/linux/usrp_e.h
diff options
context:
space:
mode:
Diffstat (limited to 'host/include/linux/usrp_e.h')
-rw-r--r--host/include/linux/usrp_e.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/host/include/linux/usrp_e.h b/host/include/linux/usrp_e.h
index fd38027d4..cb62d940d 100644
--- a/host/include/linux/usrp_e.h
+++ b/host/include/linux/usrp_e.h
@@ -34,8 +34,8 @@ struct usrp_e_ctl32 {
#define UE_SPI_TXRX 1
/* Defines for spi ctrl register */
-#define UE_SPI_CTRL_TXNEG (BIT(10))
-#define UE_SPI_CTRL_RXNEG (BIT(9))
+#define UE_SPI_CTRL_TXNEG (1<<10)
+#define UE_SPI_CTRL_RXNEG (1<<9)
#define UE_SPI_PUSH_RISE 0
#define UE_SPI_PUSH_FALL UE_SPI_CTRL_TXNEG
@@ -71,6 +71,7 @@ struct usrp_e_i2c {
#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;