Revision 9734a743 host/lib/device.cpp
| b/host/lib/device.cpp | ||
|---|---|---|
| 18 | 18 |
#include <uhd/device.hpp> |
| 19 | 19 |
#include <uhd/types/dict.hpp> |
| 20 | 20 |
#include <uhd/exception.hpp> |
| 21 |
#include <uhd/utils/log.hpp> |
|
| 21 | 22 |
#include <uhd/utils/msg.hpp> |
| 22 | 23 |
#include <uhd/utils/static.hpp> |
| 23 | 24 |
#include <uhd/utils/algorithm.hpp> |
| ... | ... | |
| 65 | 66 |
const find_t &find, |
| 66 | 67 |
const make_t &make |
| 67 | 68 |
){
|
| 68 |
//std::cout << "registering device" << std::endl;
|
|
| 69 |
UHD_LOGV(always) << "registering device" << std::endl;
|
|
| 69 | 70 |
get_dev_fcn_regs().push_back(dev_fcn_reg_t(find, make)); |
| 70 | 71 |
} |
| 71 | 72 |
|
| ... | ... | |
| 128 | 129 |
device_addr_t dev_addr; make_t maker; |
| 129 | 130 |
boost::tie(dev_addr, maker) = dev_addr_makers.at(which); |
| 130 | 131 |
size_t dev_hash = hash_device_addr(dev_addr); |
| 131 |
//std::cout << boost::format("Hash: %u") % dev_hash << std::endl;
|
|
| 132 |
UHD_LOG << boost::format("Device hash: %u") % dev_hash << std::endl;
|
|
| 132 | 133 |
|
| 133 | 134 |
//copy keys that were in hint but not in dev_addr |
| 134 | 135 |
//this way, we can pass additional transport arguments |
Also available in: Unified diff