summaryrefslogtreecommitdiff
path: root/usrp2/firmware/apps/eth_serdes.c
diff options
context:
space:
mode:
authoreb2009-01-22 18:29:24 +0000
committereb2009-01-22 18:29:24 +0000
commit1545a741acca4ee45e8cfd889d9152f5db57bd1b (patch)
tree524c57064819185bad56ad33e1c5ed0adc74368f /usrp2/firmware/apps/eth_serdes.c
parentf5fdfe3342750df3092bd0a8d39cb42b4d599012 (diff)
downloadgnuradio-1545a741acca4ee45e8cfd889d9152f5db57bd1b.tar.gz
gnuradio-1545a741acca4ee45e8cfd889d9152f5db57bd1b.tar.bz2
gnuradio-1545a741acca4ee45e8cfd889d9152f5db57bd1b.zip
bumped stack to 3k (not sure we needed to), cleaned up old serdes test
code: eth_serdes.c and serdes_txrx.c, can tx over serdes at interp 4 (underruns quite frequently), same behavior as regular txrx.c git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10291 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'usrp2/firmware/apps/eth_serdes.c')
-rw-r--r--usrp2/firmware/apps/eth_serdes.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/usrp2/firmware/apps/eth_serdes.c b/usrp2/firmware/apps/eth_serdes.c
index c47b8ebd0..0286f0c1f 100644
--- a/usrp2/firmware/apps/eth_serdes.c
+++ b/usrp2/firmware/apps/eth_serdes.c
@@ -168,6 +168,9 @@ main(void)
{
u2_init();
+ output_regs->led_src = 0x3; // h/w controls bottom two bits
+ clocks_enable_test_clk(true, 1);
+
putstr("\neth <-> serdes\n");
ethernet_register_link_changed_callback(link_changed_callback);