From 480b9a64ba1001dd0f16179ff0f0708b5b699a0a Mon Sep 17 00:00:00 2001 From: Wenzhuo Lu Date: Fri, 5 Jun 2015 13:21:45 +0800 Subject: [PATCH] ixgbe/base: fix lan id for X550em The introduction of ixgbe_get_bus_info_X550em failed to call the set_lan_id method to set the func and lan_id and deal with port- swapped configurations. Add the call to resolve the problem. Fixes: 4cf0bb32a912 ("ixgbe/base: get X550 bus info") Signed-off-by: Wenzhuo Lu Acked-by: Helin Zhang --- drivers/net/ixgbe/base/ixgbe_x550.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/ixgbe/base/ixgbe_x550.c b/drivers/net/ixgbe/base/ixgbe_x550.c index a1bc579b71..4608f75b44 100644 --- a/drivers/net/ixgbe/base/ixgbe_x550.c +++ b/drivers/net/ixgbe/base/ixgbe_x550.c @@ -2416,6 +2416,8 @@ s32 ixgbe_get_bus_info_X550em(struct ixgbe_hw *hw) hw->bus.width = ixgbe_bus_width_unknown; hw->bus.speed = ixgbe_bus_speed_unknown; + hw->mac.ops.set_lan_id(hw); + return IXGBE_SUCCESS; } -- 2.20.1