• Jesse Brandeburg's avatar
    e1000e: implement MDI/MDI-X control · 4e8186b6
    Jesse Brandeburg authored
    Some users report issues with link failing when connected to certain
    switches.  This gives the user the ability to control the MDI state
    from the driver, allowing users to work around some improperly
    behaving switches.
    
    Forcing in this driver is for now only allowed when auto-neg is
    enabled.
    
    This is in regards to the related ethtool app patch and
    bugzilla.kernel.org bug 11998
    Signed-off-by: default avatarJesse Brandeburg <jesse.brandeburg@intel.com>
    CC: bruce.w.allan@intel.com
    CC: n.poppelier@xs4all.nl
    CC: bastien@durel.org
    CC: jsveiga@it.eng.br
    Tested-by: Aaron Brown aaron.f.brown@intel.com
    Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
    4e8186b6
ethtool.c 56.3 KB