diff options
author | Josh Blum <josh@joshknows.com> | 2010-11-16 10:07:22 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-11-16 10:07:22 -0800 |
commit | 7ffb1370f439cf9221290319247dcbc617cf9cbe (patch) | |
tree | b3970a3c0588258a75eee25163f5b4fc19a8bd66 | |
parent | c0dfc2cf47b98734c4218427c7c6f5eb92025a9c (diff) | |
download | uhd-7ffb1370f439cf9221290319247dcbc617cf9cbe.tar.gz uhd-7ffb1370f439cf9221290319247dcbc617cf9cbe.tar.bz2 uhd-7ffb1370f439cf9221290319247dcbc617cf9cbe.zip |
usrp2: fix ip addr eeprom offset in motherboard eeprom parser
-rw-r--r-- | host/lib/usrp/mboard_eeprom.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/mboard_eeprom.cpp b/host/lib/usrp/mboard_eeprom.cpp index 076d0b279..df95e41bc 100644 --- a/host/lib/usrp/mboard_eeprom.cpp +++ b/host/lib/usrp/mboard_eeprom.cpp @@ -64,7 +64,7 @@ static const boost::uint8_t NXXX_EEPROM_ADDR = 0x50; static const uhd::dict<std::string, boost::uint8_t> USRP_NXXX_OFFSETS = boost::assign::map_list_of ("rev-lsb-msb", 0x00) ("mac-addr", 0x02) - ("ip-addr", 0x08) + ("ip-addr", 0x0C) //leave space here for other addresses (perhaps) ("serial", 0x18) ("name", 0x18 + SERIAL_LEN) |