From: Don Skidmore Date: Tue, 9 Jun 2015 23:26:44 +0000 (-0700) Subject: ixgbe: add X550 support for external PHY and forced 1G/10G support X-Git-Tag: omap-for-v4.2/fixes-rc1^2~134^2~101^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3dc4c09f10ac82f5517b055c8b01abf55abdec9;p=pandora-kernel.git ixgbe: add X550 support for external PHY and forced 1G/10G support This patch adds x550 external PHY interrupt and forced 1G/10G support. This included enabling and handling LSC and thermal sensor interrupt. ixgbe_handle_lasi() has been added for handling the interrupts received over SDP0 from the external 10baseT PHY. ixgbe_enable_lasi_ext_t_x550em and ixgbe_get_lasi_ext_t_x550em have been added to X550em to enable mask and check interrupt flags for the external PHY. Forced 1G/10G link speed is handled via ixgbe_mac_link_t_X550em. ixgbe_seupt_mac_link_t_X550em sets up the internal PHY and external PHY to either iXFI (10G) or KX (1G) based on the user selected auto advertised link speed setting. Then sets up the external PHY auto advertised link speed. Signed-off-by: Don Skidmore Tested-by: Krishneil Singh Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed