]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: fix default mac->ops.setup_link for X550EM
authorEmil Tantilov <emil.s.tantilov@intel.com>
Thu, 24 Mar 2016 16:58:40 +0000 (09:58 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 25 Apr 2016 01:01:06 +0000 (18:01 -0700)
commitee0aa4ef85be72e0a46849b4032bb94c05cf9ecb
treee6efb4c96a0a115be388e12b4cadf4c76aed09a5
parent986b0e5fbd52a6aa0a69626fec696e3ceabd3896
ixgbe: fix default mac->ops.setup_link for X550EM

X550EM_a/x did not have a default value for mac->ops.setup_link which
was causing link issues for backplane devices.

This patch sets mac->ops.setup_link to ixgbe_setup_mac_link_X540 for
X550EM_a/x which is also default for X550. This will result in
mac->ops.setup_link calling the link setup function for the respective
PHY type in case we do not need a special function to deal with it.

Reported-by: Ken Cox <jkc@redhat.com>
Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c