aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/microblaze/lib/net_common.h
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-12-22 19:11:45 -0800
committerJosh Blum <josh@joshknows.com>2010-12-22 19:11:45 -0800
commit71fc99d006f2347a356c5339905593f64ff902ec (patch)
tree36c141adca7a2e5cf2f84660b5a2e3543f1dfaba /firmware/microblaze/lib/net_common.h
parent434ee07c4ba1ce9faee8ecf3a309042ca424cbda (diff)
downloaduhd-71fc99d006f2347a356c5339905593f64ff902ec.tar.gz
uhd-71fc99d006f2347a356c5339905593f64ff902ec.tar.bz2
uhd-71fc99d006f2347a356c5339905593f64ff902ec.zip
usrp2: got fw working on usrp2+nseries (crosses fingers)
The abort issue seemed to be cause by the listeners table not being initialized. Also gave the pic handler the initialization works to be consistent but not needed as it was static initialized. And finally, doubly set the packet router handshake ctrl before entering the claim calls (seemed to fix the lockup, perhaps a bad init state?)
Diffstat (limited to 'firmware/microblaze/lib/net_common.h')
-rw-r--r--firmware/microblaze/lib/net_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/microblaze/lib/net_common.h b/firmware/microblaze/lib/net_common.h
index 4004ca6e6..409022352 100644
--- a/firmware/microblaze/lib/net_common.h
+++ b/firmware/microblaze/lib/net_common.h
@@ -33,6 +33,8 @@ unsigned int CHKSUM(unsigned int x, unsigned int *chksum);
typedef void (*udp_receiver_t)(struct socket_address src, struct socket_address dst,
unsigned char *payload, int payload_len);
+void init_udp_listeners(void);
+
void register_addrs(const eth_mac_addr_t *mac_addr, const struct ip_addr *ip_addr);
void register_udp_listener(int port, udp_receiver_t rcvr);