Date: Sat, 25 May 2013 15:44:54 +0400 From: Sergey Kandaurov <pluknet@freebsd.org> To: Jack F Vogel <jfv@freebsd.org> Cc: FreeBSD Current <freebsd-current@freebsd.org> Subject: Typo in PCI-E Bus Speed measure unit Message-ID: <CAE-mSOKgCqxAyxEbOxCZftGAGhJnQwfxjb8mCgxS-5=OQHzReA@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi.
I'd like to commit this patch.
PCI-E Bus Speed is measured in GT/s (transfers per sec).
Index: sys/dev/ixgbe/ixgbe.c
===================================================================
--- sys/dev/ixgbe/ixgbe.c (revision 250717)
+++ sys/dev/ixgbe/ixgbe.c (working copy)
@@ -579,8 +579,8 @@
/* Print PCIE bus type/speed/width info */
ixgbe_get_bus_info(hw);
device_printf(dev,"PCI Express Bus: Speed %s %s\n",
- ((hw->bus.speed == ixgbe_bus_speed_5000) ? "5.0Gb/s":
- (hw->bus.speed == ixgbe_bus_speed_2500) ? "2.5Gb/s":"Unknown"),
+ ((hw->bus.speed == ixgbe_bus_speed_5000) ? "5.0GT/s":
+ (hw->bus.speed == ixgbe_bus_speed_2500) ? "2.5GT/s":"Unknown"),
(hw->bus.width == ixgbe_bus_width_pcie_x8) ? "Width x8" :
(hw->bus.width == ixgbe_bus_width_pcie_x4) ? "Width x4" :
(hw->bus.width == ixgbe_bus_width_pcie_x1) ? "Width x1" :
--
wbr,
pluknet
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE-mSOKgCqxAyxEbOxCZftGAGhJnQwfxjb8mCgxS-5=OQHzReA>
