summaryrefslogtreecommitdiffstats
path: root/firmware/microblaze/apps
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-11-18 19:30:55 -0800
committerJosh Blum <josh@joshknows.com>2010-12-11 18:43:09 -0800
commita1f3a6605077ffb3275b094c58e8e9cdf78a899d (patch)
tree7e90650470623a0ae09200734a9de06d1fb9a2f4 /firmware/microblaze/apps
parent8fcd9f421315ade5768f0ff4e99dad4a1d0d1451 (diff)
downloaduhd-a1f3a6605077ffb3275b094c58e8e9cdf78a899d.tar.gz
uhd-a1f3a6605077ffb3275b094c58e8e9cdf78a899d.tar.bz2
uhd-a1f3a6605077ffb3275b094c58e8e9cdf78a899d.zip
packet_router: enable the serdes and always send GARP
Diffstat (limited to 'firmware/microblaze/apps')
-rw-r--r--firmware/microblaze/apps/txrx_uhd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/microblaze/apps/txrx_uhd.c b/firmware/microblaze/apps/txrx_uhd.c
index 938491b0e..c61bc647c 100644
--- a/firmware/microblaze/apps/txrx_uhd.c
+++ b/firmware/microblaze/apps/txrx_uhd.c
@@ -283,12 +283,12 @@ void link_changed_callback(int speed){
if (speed != 0){
hal_set_leds(LED_RJ45, LED_RJ45);
pkt_ctrl_set_routing_mode(PKT_CTRL_ROUTING_MODE_MASTER);
- send_gratuitous_arp(); //garp after setting the routing mode
}
else{
hal_set_leds(0x0, LED_RJ45);
pkt_ctrl_set_routing_mode(PKT_CTRL_ROUTING_MODE_SLAVE);
}
+ send_gratuitous_arp();
}
static void setup_network(void){