Skip to content

Commit 3710afe

Browse files
committedApr 12, 2015
microudp.c: add #ifdef on ethmode (bios generation for gmii or mii was broken)
1 parent 8e63916 commit 3710afe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

Diff for: ‎software/libnet/microudp.c

+2
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,7 @@ void ethreset(void)
444444
busy_wait(2);
445445
}
446446

447+
#ifdef CSR_ETHPHY_MODE_ADDR
447448
void ethmode(void)
448449
{
449450
ethphy_clock_counter_reset_write(1);
@@ -465,6 +466,7 @@ void ethmode(void)
465466

466467
ethphy_clock_counter_reset_write(1);
467468
}
469+
#endif
468470

469471
#endif
470472

0 commit comments

Comments
 (0)
Please sign in to comment.