aboutsummaryrefslogtreecommitdiffstats
path: root/lib/usrp/mboard/usrp2_fw_common.h
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-02-12 19:46:09 -0800
committerJosh Blum <josh@joshknows.com>2010-02-12 19:46:09 -0800
commit51e5396079d8af7cf8287b586ff2351a19ae8381 (patch)
tree166c580e317aff50cb00eb840cc05124aad04161 /lib/usrp/mboard/usrp2_fw_common.h
parent259f5babf1e1bc1595ad54c6588c1ff5117dc2e3 (diff)
downloaduhd-51e5396079d8af7cf8287b586ff2351a19ae8381.tar.gz
uhd-51e5396079d8af7cf8287b586ff2351a19ae8381.tar.bz2
uhd-51e5396079d8af7cf8287b586ff2351a19ae8381.zip
Reading the dboard ids from the usrp2.
Diffstat (limited to 'lib/usrp/mboard/usrp2_fw_common.h')
-rw-r--r--lib/usrp/mboard/usrp2_fw_common.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/usrp/mboard/usrp2_fw_common.h b/lib/usrp/mboard/usrp2_fw_common.h
index 4ea9d5467..c98220d84 100644
--- a/lib/usrp/mboard/usrp2_fw_common.h
+++ b/lib/usrp/mboard/usrp2_fw_common.h
@@ -41,7 +41,9 @@ typedef enum{
USRP2_CTRL_ID_HERE_IS_A_NEW_IP_ADDR_BRO,
USRP2_CTRL_ID_GIVE_ME_YOUR_MAC_ADDR_BRO,
USRP2_CTRL_ID_THIS_IS_MY_MAC_ADDR_DUDE,
- USRP2_CTRL_ID_HERE_IS_A_NEW_MAC_ADDR_BRO
+ USRP2_CTRL_ID_HERE_IS_A_NEW_MAC_ADDR_BRO,
+ USRP2_CTRL_ID_GIVE_ME_YOUR_DBOARD_IDS_BRO,
+ USRP2_CTRL_ID_THESE_ARE_MY_DBOARD_IDS_DUDE
} usrp2_ctrl_id_t;
typedef struct{
@@ -50,6 +52,10 @@ typedef struct{
union{
uint32_t ip_addr;
uint8_t mac_addr[6];
+ struct {
+ uint16_t rx_id;
+ uint16_t tx_id;
+ } dboard_ids;
/*struct {
uint8_t bank;
uint16_t ddr;