]> git.baikalelectronics.ru Git - kernel.git/commit
igb: update to allow reading/setting MDI state
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Thu, 26 Jul 2012 02:31:19 +0000 (02:31 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 21 Aug 2012 08:27:48 +0000 (01:27 -0700)
commite63ff909f0134af9da884b2c3ba0ea1423e42c2b
tree6629dabd710983dadfff0a6890c1d16c1a736987
parent2dcd69e020f0583db98aeecc23fc7312abf78784
igb: update to allow reading/setting MDI state

This is the implementation for igb to allow forcing MDI state
via ethtool, allowing users to work around some improperly
behaving switches.

Forcing in this driver is for now only allowed when auto-neg is
enabled.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
CC: Carolyn Wyborny <carolyn.wyborny@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/igb_ethtool.c
drivers/net/ethernet/intel/igb/igb_main.c