aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/e100
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-07-06 21:36:24 -0700
committerJosh Blum <josh@joshknows.com>2011-07-08 13:11:24 -0700
commit242d639d9e46fe99af3af7c946e59d2224339731 (patch)
tree9914980379c116c1b78e6d4e1d9f9a9209e5009f /host/lib/usrp/e100
parent09087ca7b43976d1c1a71033ef000baaa21feba0 (diff)
downloaduhd-242d639d9e46fe99af3af7c946e59d2224339731.tar.gz
uhd-242d639d9e46fe99af3af7c946e59d2224339731.tar.bz2
uhd-242d639d9e46fe99af3af7c946e59d2224339731.zip
e100: use the USRP_E_READ_CTL32 ioctl for async msg read
Diffstat (limited to 'host/lib/usrp/e100')
-rw-r--r--host/lib/usrp/e100/io_impl.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/host/lib/usrp/e100/io_impl.cpp b/host/lib/usrp/e100/io_impl.cpp
index 412febd83..e91d81b07 100644
--- a/host/lib/usrp/e100/io_impl.cpp
+++ b/host/lib/usrp/e100/io_impl.cpp
@@ -113,11 +113,11 @@ void e100_impl::io_impl::handle_irq(void){
usrp_e_ctl32 data;
data.offset = E100_REG_ERR_BUFF;
data.count = status >> 16;
- //FIXME ioctl reads words32 incorrectly _fpga_ctrl->ioctl(USRP_E_READ_CTL32, &data);
- for (size_t i = 0; i < data.count; i++){
- data.buf[i] = iface->peek32(E100_REG_ERR_BUFF + i*sizeof(boost::uint32_t));
+ _fpga_ctrl->ioctl(USRP_E_READ_CTL32, &data);
+ //for (size_t i = 0; i < data.count; i++){
+ //data.buf[i] = iface->peek32(E100_REG_ERR_BUFF + i*sizeof(boost::uint32_t));
//std::cout << boost::format(" buff[%u] = 0x%08x\n") % i % data.buf[i];
- }
+ //}
//unpack the vrt header and process below...
vrt::if_packet_info_t if_packet_info;