igb: M88E1543 PHY downshift implementation
authorAkeem G Abodunrin <akeem.g.abodunrin@intel.com>
Wed, 28 Aug 2013 02:22:48 +0000 (02:22 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 4 Sep 2013 12:04:31 +0000 (05:04 -0700)
commitdfc707558bb635db98fc6ed8d47c737091707af6
tree88bd095b00845e7630c440630c597193bd0788d2
parent99af4729c4c5d67dafccb2a1ba29b95cf6f981c2
igb: M88E1543 PHY downshift implementation

This patch implements downshift mechanism for M88E1543 PHY, so that
downshift is disabled first during link setup process, and later enabled
if we are master and downshift link is negotiated. Also cleaned up
return code implementation.

Signed-off-by: Akeem G Abodunrin <akeem.g.abodunrin@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/e1000_phy.c