提交 03cfa205 编写于 作者: P PJ Waskiewicz 提交者: David S. Miller

ixgbe: Fix PCI bus reporting on driver load for 82598 after 82599 merge

82598's PCI bus reporting on driver load was broken after 82599 merged.
This results in incorrect reporting, and an erroneous warning message
that the 82598 is in a PCIe slot that isn't fast enough to run 10GbE.
Signed-off-by: NPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 fe52eeb8
...@@ -79,6 +79,9 @@ static s32 ixgbe_get_invariants_82598(struct ixgbe_hw *hw) ...@@ -79,6 +79,9 @@ static s32 ixgbe_get_invariants_82598(struct ixgbe_hw *hw)
s32 ret_val = 0; s32 ret_val = 0;
u16 list_offset, data_offset; u16 list_offset, data_offset;
/* Set the bus information prior to PHY identification */
mac->ops.get_bus_info(hw);
/* Call PHY identify routine to get the phy type */ /* Call PHY identify routine to get the phy type */
ixgbe_identify_phy_generic(hw); ixgbe_identify_phy_generic(hw);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册