From 3710afe7fe1cca791140ec7d8160142368932303 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Sun, 12 Apr 2015 20:58:23 +0200 Subject: [PATCH] microudp.c: add #ifdef on ethmode (bios generation for gmii or mii was broken) --- software/libnet/microudp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/software/libnet/microudp.c b/software/libnet/microudp.c index a96da8e9..fce73819 100644 --- a/software/libnet/microudp.c +++ b/software/libnet/microudp.c @@ -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 -- 2.30.2