aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/usrp3/x300/x300_main.c
diff options
context:
space:
mode:
authorAshish Chaudhari <ashish@ettus.com>2015-02-17 12:23:09 -0800
committerAshish Chaudhari <ashish@ettus.com>2015-02-17 12:23:09 -0800
commit230cf5d76ac2417c36713e82bcd0fbe7986b7847 (patch)
tree3b26eddabd81588a32b956d7f1d0ed3f5c42c135 /firmware/usrp3/x300/x300_main.c
parent3157734691882662fae4f86475a78db8fee1b441 (diff)
downloaduhd-230cf5d76ac2417c36713e82bcd0fbe7986b7847.tar.gz
uhd-230cf5d76ac2417c36713e82bcd0fbe7986b7847.tar.bz2
uhd-230cf5d76ac2417c36713e82bcd0fbe7986b7847.zip
x300: Multiple firmware fixes for Vivado
- Refactored SFP+ hotplug handler - GigE link state comes from SFP+ status and PHY status - Multiple tracing enhancements - Bumped firmware compat number to 4 - Bumpled FPGA compat number to 10
Diffstat (limited to 'firmware/usrp3/x300/x300_main.c')
-rw-r--r--firmware/usrp3/x300/x300_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/usrp3/x300/x300_main.c b/firmware/usrp3/x300/x300_main.c
index b8c4fb41a..3b812a2c4 100644
--- a/firmware/usrp3/x300/x300_main.c
+++ b/firmware/usrp3/x300/x300_main.c
@@ -445,12 +445,12 @@ int main(void)
static const uint32_t tick_delta = CPU_CLOCK/1000;
if (ticks_passed > tick_delta)
{
+ poll_sfpp_status(0); // Every so often poll XGE Phy to look for SFP+ hotplug events.
+ poll_sfpp_status(1); // Every so often poll XGE Phy to look for SFP+ hotplug events.
handle_link_state(); //deal with router table update
handle_claim(); //deal with the host claim register
update_leds(); //run the link and activity leds
garp(); //send periodic garps
- xge_poll_sfpp_status(0); // Every so often poll XGE Phy to look for SFP+ hotplug events.
- xge_poll_sfpp_status(1); // Every so often poll XGE Phy to look for SFP+ hotplug events.
last_cronjob = wb_peek32(SR_ADDR(RB0_BASE, RB_COUNTER));
}