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

Tim Harvey tharvey at gateworks.com
Thu Apr 30 18:19:12 UTC 2015


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.

Signed-off-by: Tim Harvey <tharvey at gateworks.com>

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(-)

-- 
1.9.1



More information about the Intel-wired-lan mailing list