aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/microblaze/lib/eth_mac.c
diff options
context:
space:
mode:
authorNick Foster <nick@nerdnetworks.org>2010-07-27 19:18:48 -0700
committerNick Foster <nick@nerdnetworks.org>2010-07-27 19:18:48 -0700
commit06b0fc51c92a933d2641395c0b3974bb95df18d0 (patch)
tree252e15861d555a201998100dc5b105f971ac0349 /firmware/microblaze/lib/eth_mac.c
parent41a36699e6e5f892a19586cde1b72fa6767c2888 (diff)
downloaduhd-06b0fc51c92a933d2641395c0b3974bb95df18d0.tar.gz
uhd-06b0fc51c92a933d2641395c0b3974bb95df18d0.tar.bz2
uhd-06b0fc51c92a933d2641395c0b3974bb95df18d0.zip
Ethernet PHY re-do.
Diffstat (limited to 'firmware/microblaze/lib/eth_mac.c')
-rw-r--r--firmware/microblaze/lib/eth_mac.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/firmware/microblaze/lib/eth_mac.c b/firmware/microblaze/lib/eth_mac.c
index 375d3f4d4..cd0179deb 100644
--- a/firmware/microblaze/lib/eth_mac.c
+++ b/firmware/microblaze/lib/eth_mac.c
@@ -83,14 +83,6 @@ eth_mac_read_rmon(int addr)
int
eth_mac_miim_read(int addr)
{
- if (hwconfig_simulation_p()){
- switch(addr){
- case PHY_LINK_AN:
- return LANSR_MASTER | LANSR_LINK_GOOD | LANSR_SPEED_1000;
- default:
- return 0;
- }
- }
int phy_addr = PHY_ADDR;
eth_mac->miiaddress = ((addr & 0x1f) << 8) | phy_addr;