diff options
author | michael-west <michael.west@ettus.com> | 2021-02-06 14:34:19 -0800 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2021-02-11 07:16:48 -0600 |
commit | 13f1dc28f162c74cc0eac6673d3c12d5195238d1 (patch) | |
tree | 84ebc1d923efe5d6d61e035e7d17c2f236d29fb8 /host/include | |
parent | 910db73c9aa9446479f00a4e90521a213568bffa (diff) | |
download | uhd-13f1dc28f162c74cc0eac6673d3c12d5195238d1.tar.gz uhd-13f1dc28f162c74cc0eac6673d3c12d5195238d1.tar.bz2 uhd-13f1dc28f162c74cc0eac6673d3c12d5195238d1.zip |
mpmd: Skip find if "resource" key is specified
MPM devices were being discovered when trying to locate PCIe connected
devices. Adding filter to exclude them if the "resource" key is
specified in the device address arguments.
Replaces "lib: disable non pcie types in find with resource" to reduce
impact to older devices and remove API change.
Signed-off-by: michael-west <michael.west@ettus.com>
Diffstat (limited to 'host/include')
-rw-r--r-- | host/include/uhd/types/device_addr.hpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/host/include/uhd/types/device_addr.hpp b/host/include/uhd/types/device_addr.hpp index 035715bf9..869f4a862 100644 --- a/host/include/uhd/types/device_addr.hpp +++ b/host/include/uhd/types/device_addr.hpp @@ -50,13 +50,6 @@ public: device_addr_t(const std::map<std::string, std::string>& info); /*! - * Looks for any key that matches the prefix. - * \param prefix string to compare keys to - * \return a bool true if found else false - */ - bool has_key_with_prefix(const std::string& prefix) const; - - /*! * Convert a device address into a pretty print string. * \return a printable string representing the device address */ |