From owner-freebsd-current@FreeBSD.ORG Sat May 25 17:39:12 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 78E0ADFB; Sat, 25 May 2013 17:39:12 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from mail-vb0-x229.google.com (mail-vb0-x229.google.com [IPv6:2607:f8b0:400c:c02::229]) by mx1.freebsd.org (Postfix) with ESMTP id 18DE0BFF; Sat, 25 May 2013 17:39:11 +0000 (UTC) Received: by mail-vb0-f41.google.com with SMTP id p14so3796340vbm.14 for ; Sat, 25 May 2013 10:39:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=OFseMq6QBguyr4nlAJQ1c1AomjBmOIilNpLGqRsTL1c=; b=iXhOyy+v3QwsliEEm11bDdX1UFPIAMVyIi4K07m07XuR8n0MKeeHKp+rHrmzOeozU9 HOqS723HILeFzLKH2KdOH8nbkkRhWeS8+6ET+LDgajdqHUYT2kkRPIyVr6WvwpNUrsMc TGfLJYaQFWe0+5ibdFUgfMm5Bk/8cHym8qeDwOcccA0uDRa79Bs8BFwedbaaVpf2a2wR av8ECfD7hSzbpdGEr/cFAN72eChj5vyTJ6ggHN97saxgv63XryXWrantRe1VDeJxbp7N RYIVAID3KYKGUTxO/+aBXXI3HuXTHWtvbiTS0Jgr15/L2FHFPN2FNUIC7BSWPwJiA2kA sOfQ== MIME-Version: 1.0 X-Received: by 10.52.171.135 with SMTP id au7mr9780571vdc.126.1369503551532; Sat, 25 May 2013 10:39:11 -0700 (PDT) Received: by 10.220.55.143 with HTTP; Sat, 25 May 2013 10:39:11 -0700 (PDT) In-Reply-To: References: Date: Sat, 25 May 2013 10:39:11 -0700 Message-ID: Subject: Re: Typo in PCI-E Bus Speed measure unit From: Jack Vogel To: Sergey Kandaurov Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Jack F Vogel , FreeBSD Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 May 2013 17:39:12 -0000 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 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) > @@ -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 >