summaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorPhilip Balister <philip@opensdr.com>2010-10-21 22:26:53 -0400
committerPhilip Balister <philip@opensdr.com>2010-10-21 22:26:53 -0400
commitdb0e3e574e9058ad51cacea91ccc42f0baed95fa (patch)
treebbe96d5d22b6101840e27a6a6cd22406cf78302d /host/include
parentc31c2d7ef8e4e02854fe51a8a3b8856649464918 (diff)
downloaduhd-db0e3e574e9058ad51cacea91ccc42f0baed95fa.tar.gz
uhd-db0e3e574e9058ad51cacea91ccc42f0baed95fa.tar.bz2
uhd-db0e3e574e9058ad51cacea91ccc42f0baed95fa.zip
usrp_e: Add driver compatibility ioctl to header file.
Diffstat (limited to 'host/include')
-rw-r--r--host/include/linux/usrp_e.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/host/include/linux/usrp_e.h b/host/include/linux/usrp_e.h
index cb62d940d..4c6a5dd89 100644
--- a/host/include/linux/usrp_e.h
+++ b/host/include/linux/usrp_e.h
@@ -65,6 +65,9 @@ struct usrp_e_i2c {
#define USRP_E_I2C_READ _IOWR(USRP_E_IOC_MAGIC, 0x25, struct usrp_e_i2c)
#define USRP_E_I2C_WRITE _IOW(USRP_E_IOC_MAGIC, 0x26, struct usrp_e_i2c)
#define USRP_E_GET_RB_INFO _IOR(USRP_E_IOC_MAGIC, 0x27, struct usrp_e_ring_buffer_size_t)
+#define USRP_E_GET_COMPAT_NUMBER _IO(USRP_E_IOC_MAGIC, 0x28)
+
+#define USRP_E_COMPAT_NUMBER 1
/* Flag defines */
#define RB_USER (1<<0)