aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbe
diff options
context:
space:
mode:
authorDon Skidmore <donald.c.skidmore@intel.com>2011-04-26 04:00:00 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-05-04 15:18:22 -0400
commit6716344c521bb585c1b89987c918d4b83b81adbe (patch)
treed30bc78436062a98abfa16c1032c737db883aec9 /drivers/net/ixgbe
parent68c7005d664724eab87627b042e149a736622d54 (diff)
ixgbe: Cleanup PCIe bus speed info
PCIe connections should be expressed as GT/s (GigaTransfers per second) instead of the current Gb/s (Gigabits per second). In addition, it is incorrect because (due to PCIe gen 1 & 2 having a 20% overhead) the actually data rate, when expressed in Gb/s, is only 80% of the rate of GT/s. Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com> Tested-by: Evan Swanson <evan.swanson@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ixgbe')
-rw-r--r--drivers/net/ixgbe/ixgbe_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ixgbe/ixgbe_main.c b/drivers/net/ixgbe/ixgbe_main.c
index bd3d21d01853..eebb1921c660 100644
--- a/drivers/net/ixgbe/ixgbe_main.c
+++ b/drivers/net/ixgbe/ixgbe_main.c
@@ -7469,8 +7469,8 @@ static int __devinit ixgbe_probe(struct pci_dev *pdev,
7469 7469
7470 /* print bus type/speed/width info */ 7470 /* print bus type/speed/width info */
7471 e_dev_info("(PCI Express:%s:%s) %pM\n", 7471 e_dev_info("(PCI Express:%s:%s) %pM\n",
7472 (hw->bus.speed == ixgbe_bus_speed_5000 ? "5.0Gb/s" : 7472 (hw->bus.speed == ixgbe_bus_speed_5000 ? "5.0GT/s" :
7473 hw->bus.speed == ixgbe_bus_speed_2500 ? "2.5Gb/s" : 7473 hw->bus.speed == ixgbe_bus_speed_2500 ? "2.5GT/s" :
7474 "Unknown"), 7474 "Unknown"),
7475 (hw->bus.width == ixgbe_bus_width_pcie_x8 ? "Width x8" : 7475 (hw->bus.width == ixgbe_bus_width_pcie_x8 ? "Width x8" :
7476 hw->bus.width == ixgbe_bus_width_pcie_x4 ? "Width x4" : 7476 hw->bus.width == ixgbe_bus_width_pcie_x4 ? "Width x4" :