]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Sat, 25 Feb 2017 05:47:28 +0000 (21:47 -0800)
commit21afdfedb91c1e121e0e8f0e31a64ef1e07a5e19
tree95313fe696cad0bf75990f6a6be9046f4261ba94
parent6e24e4582a81fbd51b79aa6eb64405fd871011e2
ixgbe: fix default mac->ops.setup_link for X550EM

Orabug: 24568240

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>
(cherry picked from commit 4695886c644e48a02ca9d4c146a7ec4de8f2d2d8)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c