]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Add support for disabling all link and change bits needed for PHY interactions
authorKevin Scott <kevin.c.scott@intel.com>
Tue, 3 May 2016 22:13:09 +0000 (15:13 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 14 May 2016 04:36:59 +0000 (21:36 -0700)
commit688e3fc52a854a518b2a184ce9dbaa9d9bcf2246
treefac12f343d36174dd27193d3a1e657938f827dd5
parentf2a42d8e0c88de52b916a811cec48c234b65be62
i40e: Add support for disabling all link and change bits needed for PHY interactions

Add flag to tell firmware to disable link on all ports.

This patch changes the bits set for telling firmware the PHY needs
to be modified by driver.  Without this patch, the setting will only
set that mode for the current port on the device.  Because the
MDIO interface is common for the copper device. The command needs to
set the mode for all ports.

Change-ID: I8baa7da91d384291ac95b41ae1a516604f8eb67f
Signed-off-by: Kevin Scott <kevin.c.scott@intel.com>
Signed-off-by: Carolyn Wyborny <carolyn.wyborny@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e.h
drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h
drivers/net/ethernet/intel/i40e/i40e_ethtool.c