igb: reset sgmii phy at start of init
authorAlexander Duyck <alexander.h.duyck@intel.com>
Mon, 14 Sep 2009 08:22:54 +0000 (08:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Sep 2009 00:03:49 +0000 (17:03 -0700)
commit2fb02a26bda1cbc3553164a8358c303d936255c5
treeedbe01441d2136b6a3f9a07e374cb9850cf6d751
parent6b1be1990d2f7d1a3b1f25bf3e6444600665764a
igb: reset sgmii phy at start of init

Our SGMII phy code was incomplete in that it was not actually placing the
phy in SGMII mode and as a result the PHY was not able to establish a link
when connected to a non serdes link partner.  This patch updates the code
to combine the SGMII/serdes PCS init and to add the necessary reset.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/igb/e1000_82575.c
drivers/net/igb/e1000_82575.h
drivers/net/igb/e1000_defines.h
drivers/net/igb/igb_main.c