projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e63916
)
microudp.c: add #ifdef on ethmode (bios generation for gmii or mii was broken)
author
Florent Kermarrec
<florent@enjoy-digital.fr>
Sun, 12 Apr 2015 18:58:23 +0000
(20:58 +0200)
committer
Florent Kermarrec
<florent@enjoy-digital.fr>
Sun, 12 Apr 2015 18:59:50 +0000
(20:59 +0200)
software/libnet/microudp.c
patch
|
blob
|
history
diff --git
a/software/libnet/microudp.c
b/software/libnet/microudp.c
index a96da8e9d7650de25ab875468b86a23772c54682..fce73819b788a14d2a27b1119e2abe4df03fcc4b 100644
(file)
--- 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