diff options
author | PJ Waskiewicz <peter.p.waskiewicz.jr@intel.com> | 2009-03-18 21:23:29 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-20 04:17:25 -0400 |
commit | 03cfa2054846a9902f0c10bea4680447050f03fa (patch) | |
tree | 0a480e35bdbf1f456b88d9dabfe74151cee04660 /drivers/net/ixgbe | |
parent | fe52eeb82b746de441ed27c54ace940efe86bc9a (diff) |
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: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ixgbe')
-rw-r--r-- | drivers/net/ixgbe/ixgbe_82598.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ixgbe/ixgbe_82598.c b/drivers/net/ixgbe/ixgbe_82598.c index 623737fb719b..ed265a7a898f 100644 --- a/drivers/net/ixgbe/ixgbe_82598.c +++ b/drivers/net/ixgbe/ixgbe_82598.c | |||
@@ -79,6 +79,9 @@ static s32 ixgbe_get_invariants_82598(struct ixgbe_hw *hw) | |||
79 | s32 ret_val = 0; | 79 | s32 ret_val = 0; |
80 | u16 list_offset, data_offset; | 80 | u16 list_offset, data_offset; |
81 | 81 | ||
82 | /* Set the bus information prior to PHY identification */ | ||
83 | mac->ops.get_bus_info(hw); | ||
84 | |||
82 | /* Call PHY identify routine to get the phy type */ | 85 | /* Call PHY identify routine to get the phy type */ |
83 | ixgbe_identify_phy_generic(hw); | 86 | ixgbe_identify_phy_generic(hw); |
84 | 87 | ||