Re: Typo in PCI-E Bus Speed measure unit

From: Jack Vogel <jfvogel_at_gmail.com>
Date: Sat, 25 May 2013 10:39:11 -0700
No, you do not need to commit this, the next drop of my internal
code already has this in it, and should be coming shortly, but thanks
anyway.

Jack



On Sat, May 25, 2013 at 4:44 AM, Sergey Kandaurov <pluknet_at_freebsd.org>wrote:

> 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)
> _at__at_ -579,8 +579,8 _at__at_
>          /* 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
>
Received on Sat May 25 2013 - 15:39:12 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:38 UTC