aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/usrp2_regs.hpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-11-11 17:40:01 -0800
committerJosh Blum <josh@joshknows.com>2010-11-11 17:40:01 -0800
commit476afe68f5c37a3e10a1208b0150732d7770a023 (patch)
tree73ea72533375d32ac35bcfff578ac0d774a89343 /host/lib/usrp/usrp2/usrp2_regs.hpp
parent478f8174601350ad0edd52bb985657037b181a2d (diff)
downloaduhd-476afe68f5c37a3e10a1208b0150732d7770a023.tar.gz
uhd-476afe68f5c37a3e10a1208b0150732d7770a023.tar.bz2
uhd-476afe68f5c37a3e10a1208b0150732d7770a023.zip
usrp2: made enums for the rev types and implemented in code
Diffstat (limited to 'host/lib/usrp/usrp2/usrp2_regs.hpp')
-rw-r--r--host/lib/usrp/usrp2/usrp2_regs.hpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/host/lib/usrp/usrp2/usrp2_regs.hpp b/host/lib/usrp/usrp2/usrp2_regs.hpp
index d84106f36..1081ff159 100644
--- a/host/lib/usrp/usrp2/usrp2_regs.hpp
+++ b/host/lib/usrp/usrp2/usrp2_regs.hpp
@@ -20,12 +20,6 @@
#include <boost/cstdint.hpp>
-enum usrp2_rev_nums {
- USRP2_REV3 = 0x0003,
- USRP2_REV4 = 0x0004,
- N2XX = 0x0A00
-};
-
#define USRP2_MISC_OUTPUT_BASE 0xD400
#define USRP2_GPIO_BASE 0xC800
#define USRP2_ATR_BASE 0xE400
@@ -107,7 +101,7 @@ typedef struct {
extern const usrp2_regs_t usrp2_regs; //the register definitions, set in usrp2_regs.cpp and usrp2p_regs.cpp
-usrp2_regs_t usrp2_get_regs(boost::uint16_t hw_rev);
+usrp2_regs_t usrp2_get_regs(bool);
////////////////////////////////////////////////////
// Settings Bus, Slave #7, Not Byte Addressable!