]> git.baikalelectronics.ru Git - kernel.git/commit
e1000: configure and read MDI settings
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Thu, 26 Jul 2012 02:31:09 +0000 (02:31 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 21 Aug 2012 08:25:34 +0000 (01:25 -0700)
commitc37a6c7f04cc610fb5143c09a876e01da4ad3cc5
tree5d6e49617435182935390de6475bd41a4b50cd4e
parent80091697940cdb8dae8574d876eae4d2b52a516d
e1000: configure and read MDI settings

This is the implementation in e1000 to allow ethtool to force
MDI state, allowing users to work around some improperly
behaving switches.

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

To use must have the matching version of ethtool app that supports
this functionality.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
CC: Tushar Dave <tushar.n.dave@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/e1000/e1000_ethtool.c
drivers/net/ethernet/intel/e1000/e1000_main.c