diff options
author | Josh Blum <josh@joshknows.com> | 2010-08-04 11:11:06 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-08-04 11:11:06 -0700 |
commit | fe622fb28654e6a578395d7b688e7c1958d373be (patch) | |
tree | c4cad6eb4c77895ddbc7bf8b297f4c115e6c52f7 /firmware/microblaze/lib/eth_mac.c | |
parent | ee32fa2290f8b6abe83f1b8b33aff922f9d1e24c (diff) | |
parent | 4240d5a2a1b705fe8ed5c3a1d1deef24be00d444 (diff) | |
download | uhd-fe622fb28654e6a578395d7b688e7c1958d373be.tar.gz uhd-fe622fb28654e6a578395d7b688e7c1958d373be.tar.bz2 uhd-fe622fb28654e6a578395d7b688e7c1958d373be.zip |
Merge branch 'fw_reorg'
Diffstat (limited to 'firmware/microblaze/lib/eth_mac.c')
-rw-r--r-- | firmware/microblaze/lib/eth_mac.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/firmware/microblaze/lib/eth_mac.c b/firmware/microblaze/lib/eth_mac.c index 375d3f4d4..034a4d494 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; @@ -112,7 +104,7 @@ eth_mac_miim_write(int addr, int value) eth_mac->miitx_data = value; eth_mac->miicommand = MIIC_WCTRLDATA; - //printf("MIIM-WRITE ADDR 0x%x VAL 0x%x\n",addr,value); +// printf("MIIM-WRITE ADDR 0x%x VAL 0x%x\n",addr,value); while((eth_mac->miistatus & MIIS_BUSY) != 0) ; } |