summaryrefslogtreecommitdiffstats
path: root/firmware/microblaze/usrp2
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-12-15 23:51:29 -0800
committerJosh Blum <josh@joshknows.com>2010-12-15 23:51:29 -0800
commitd6eae2063c33b05cece8293ed4391fa8619c2447 (patch)
tree6d92f91fee3080cf4ad59f1a6ddb721b9c0561db /firmware/microblaze/usrp2
parent768d32d91a6b207c577803e9d8baff884551f839 (diff)
downloaduhd-d6eae2063c33b05cece8293ed4391fa8619c2447.tar.gz
uhd-d6eae2063c33b05cece8293ed4391fa8619c2447.tar.bz2
uhd-d6eae2063c33b05cece8293ed4391fa8619c2447.zip
usrp2: added support in fw for setting dsp0 and err0 ports with protocol framer changes
Diffstat (limited to 'firmware/microblaze/usrp2')
-rw-r--r--firmware/microblaze/usrp2/memory_map.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/firmware/microblaze/usrp2/memory_map.h b/firmware/microblaze/usrp2/memory_map.h
index eac0c217f..2b91063b2 100644
--- a/firmware/microblaze/usrp2/memory_map.h
+++ b/firmware/microblaze/usrp2/memory_map.h
@@ -435,11 +435,18 @@ typedef struct {
uint32_t length;
uint32_t checksum; //word 22
} udp_hdr;
- volatile uint32_t _pad[32-23];
+ volatile uint32_t _pad[2];
+ volatile uint32_t dsp0_port;
+ volatile uint32_t err0_port;
+ volatile uint32_t dsp1_port;
+ volatile uint32_t err1_port;
} sr_udp_sm_t;
// control bits (all expect UDP_SM_LAST_WORD are mutually exclusive)
+// Insert a UDP dest port from the table
+#define UDP_SM_INS_UDP_PORT (1 << 20)
+
// This is the last word of the header
#define UDP_SM_LAST_WORD (1 << 19)