aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp_e100/usrp_e100_iface.hpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-06-15 16:45:46 -0700
committerJosh Blum <josh@joshknows.com>2011-06-15 16:45:46 -0700
commit4802b02463cd8d3a3adde2c38f6936936fe80571 (patch)
treed4acd48d29347a718385a63bb3f9b83d70ffbc88 /host/lib/usrp/usrp_e100/usrp_e100_iface.hpp
parentb9a32f31acee6fc0852763f2f30d98206430d52b (diff)
parent8da2d8426e2a668b9fde31773a9e313a4ce1c2bb (diff)
downloaduhd-4802b02463cd8d3a3adde2c38f6936936fe80571.tar.gz
uhd-4802b02463cd8d3a3adde2c38f6936936fe80571.tar.bz2
uhd-4802b02463cd8d3a3adde2c38f6936936fe80571.zip
Merge branch 'usrp_e100_aux_spi' into frontend_work
Diffstat (limited to 'host/lib/usrp/usrp_e100/usrp_e100_iface.hpp')
-rw-r--r--host/lib/usrp/usrp_e100/usrp_e100_iface.hpp14
1 files changed, 12 insertions, 2 deletions
diff --git a/host/lib/usrp/usrp_e100/usrp_e100_iface.hpp b/host/lib/usrp/usrp_e100/usrp_e100_iface.hpp
index d9fe96db7..7df99cf4e 100644
--- a/host/lib/usrp/usrp_e100/usrp_e100_iface.hpp
+++ b/host/lib/usrp/usrp_e100/usrp_e100_iface.hpp
@@ -46,10 +46,9 @@ public:
/*!
* Make a new usrp-e interface with the control transport.
- * \param node the device node name
* \return a new usrp-e interface object
*/
- static sptr make(const std::string &node);
+ static sptr make(void);
/*!
* Get the underlying file descriptor.
@@ -58,6 +57,17 @@ public:
virtual int get_file_descriptor(void) = 0;
/*!
+ * Open a device node into this iface.
+ * \param node the device node name
+ */
+ virtual void open(const std::string &node) = 0;
+
+ /*!
+ * Close the open device node in this iface.
+ */
+ virtual void close(void) = 0;
+
+ /*!
* Perform an ioctl call on the device node file descriptor.
* This will throw when the internal ioctl call fails.
* \param request the control word