igb: move the generic copper link setup code into e1000_phy.c
commit81fadd81a5bc897c8d0424d1cd90cb999d8e12b0
authorAlexander Duyck <alexander.h.duyck@intel.com>
Mon, 5 Oct 2009 06:35:03 +0000 (5 06:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Oct 2009 21:59:23 +0000 (6 14:59 -0700)
treef0b71e08c7818f1c5a6e711ea5c2b2e5c71379eb
parent285b4167458ec7cc49008b2e61cbe0362deed335
igb: move the generic copper link setup code into e1000_phy.c

This patch moves the generic portion of the copper link setup into a
seperate function in e1000_phy.c.  This helps to reduce the size of
copper_link_setup_82575 and make it a bit more readable.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/igb/e1000_82575.c
drivers/net/igb/e1000_phy.c
drivers/net/igb/e1000_phy.h