Skip to content

Commit

Permalink
LwIP202: Add AXI 2.5G Ethernet support in LwIP
Browse files Browse the repository at this point in the history
This patch adds AXI 2.5G Ethernet support in LwIP adapter source.

Signed-off-by: Maulik Jodhani <maulik.jodhani@xilinx.com>
  • Loading branch information
Maulik Jodhani authored and saddepal committed May 11, 2018
1 parent 11fb752 commit bab8511
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ThirdParty/sw_services/lwip202/src/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
Change Log for lwip
=================================
2018-03-30
* Add AXI 2.5G Ethernet support
2018-03-29
* Add mcdma support and handle IEEE_1588 for SGMII Phy in ethernet
* header
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,9 @@ unsigned int get_phy_negotiated_speed (XAxiEthernet *xaxiemacp, u32 phy_addr)

xil_printf("Autonegotiation complete \r\n");

if (xaxiemacp->Config.Speed == XAE_SPEED_2500_MBPS)
return XAE_SPEED_2500_MBPS;

#if XPAR_GIGE_PCS_PMA_1000BASEX_CORE_PRESENT == 1
XAxiEthernet_PhyWrite(xaxiemacp, phy_addr, IEEE_PAGE_ADDRESS_REGISTER, 1);
XAxiEthernet_PhyRead(xaxiemacp, phy_addr, IEEE_PARTNER_ABILITIES_1_REG_OFFSET, &temp);
Expand Down

0 comments on commit bab8511

Please sign in to comment.