Skip to content

igb: add i210/i211 external phy support

Tim Harvey intel-wired-lan 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net: igb: add i210/i211 support for phy read/writedrivers/net/ethernet/intel/igb/e1000_phy.c+62 -91 reply
1/3net: igb: add i210/i211 support for phy read/write+0 -01 reply
2/3net: igb: add phy read/write functions that accept phy addrdrivers/net/ethernet/intel/igb/e1000_82575.c drivers/net/ethernet/intel/igb/e1000_phy.c drivers/net/ethernet/intel/igb/e1000_phy.h+56 -241 reply
2/3net: igb: add phy read/write functions that accept phy addr+0 -01 reply
3/3net: igb: register mii_bus for SerDes w/ external phydrivers/net/ethernet/intel/igb/e1000_82575.c drivers/net/ethernet/intel/igb/e1000_hw.h drivers/net/ethernet/intel/igb/igb_main.c+181 -51 reply
3/3net: igb: register mii_bus for SerDes w/ external phy+0 -01 reply
3/3net: igb: register mii_bus for SerDes w/ external phy+0 -02 replies
3/3net: igb: register mii_bus for SerDes w/ external phy+0 -01 reply
3/3net: igb: register mii_bus for SerDes w/ external phy+0 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Intel-wired-lan] [PATCH 0/3] igb: add i210/i211 external phy support

The i210/i211 can use an external phy and there is support built into igb for several. However if you instead want to use the Linux phydev driver API the igb driver needs to register an MDIO bus with Linux.

This patch series fixes mdio read/write capability for i210/i211 and registers an MDIO bus if the EEPROM is configured with an external phy.

This has only been tested on an i210 with an external phy as that is all I have access to. Testing is needed.

Tim Harvey (3):
net: igb: add i210/i211 support for phy read/write
net: igb: add phy read/write functions that accept phy addr
net: igb: register mii_bus for SerDes w/ external phy

 drivers/net/ethernet/intel/igb/e1000_82575.c |  20 +++-
 drivers/net/ethernet/intel/igb/e1000_hw.h    |   7 ++
 drivers/net/ethernet/intel/igb/e1000_phy.c   | 137 +++++++++++++++++-----
 drivers/net/ethernet/intel/igb/e1000_phy.h   |   6 +-
 drivers/net/ethernet/intel/igb/igb_main.c    | 163 ++++++++++++++++++++++++++-
 5 files changed, 297 insertions(+), 36 deletions(-)
Signature · 1 line
1.9.1