Skip to content

Commit

Permalink
microudp.c: add #ifdef on ethmode (bios generation for gmii or mii wa…
Browse files Browse the repository at this point in the history
…s broken)
enjoy-digital committed Apr 12, 2015
1 parent 8e63916 commit 3710afe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions software/libnet/microudp.c
Original file line number Diff line number Diff line change
@@ -444,6 +444,7 @@ void ethreset(void)
busy_wait(2);
}

#ifdef CSR_ETHPHY_MODE_ADDR
void ethmode(void)
{
ethphy_clock_counter_reset_write(1);
@@ -465,6 +466,7 @@ void ethmode(void)

ethphy_clock_counter_reset_write(1);
}
#endif

#endif

0 comments on commit 3710afe

Please sign in to comment.