From owner-freebsd-current@FreeBSD.ORG Sat May 25 11:44:55 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 AFC79B4A; Sat, 25 May 2013 11:44:55 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-we0-x234.google.com (mail-we0-x234.google.com [IPv6:2a00:1450:400c:c03::234]) by mx1.freebsd.org (Postfix) with ESMTP id 27B08DB0; Sat, 25 May 2013 11:44:55 +0000 (UTC) Received: by mail-we0-f180.google.com with SMTP id t60so2275546wes.11 for ; Sat, 25 May 2013 04:44:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=DzkzCDkd3q3Wl6IOKGqnjJB5gudiF+QpcXpMwtT3tMs=; b=YQMzbO4++9fKSS6GLVxxylxlw31VZuLQRoEuXJLIakj+Zc51PKGLSKW4rhvVxEZ4RA YChaPbHvC9tt2CKvaX/jzqPqnQv14NUtFe+0FV3SP4WnUJsCKOj9FPnJV6fPaIBw3h8r IsKMnIenr7G9aBdRfXd+tX58vzAM18j7vZoo/JP1jRreOpj3+Bz2mvs9PCUWykJBcGF8 PnexJ3/jybSY2tSfjDBmCQnztUgk0BTj1zD1HizNytk/7I9NUoNyhdpENlgzaokALCzl sEiayex5/+xF2n+gAKQQNyP2QMbDEaci+onRTBWdWv9GqZ1THryGxbb1x1jLiEm+tRVz bvZQ== MIME-Version: 1.0 X-Received: by 10.180.21.193 with SMTP id x1mr2134919wie.31.1369482294354; Sat, 25 May 2013 04:44:54 -0700 (PDT) Sender: pluknet@gmail.com Received: by 10.194.139.113 with HTTP; Sat, 25 May 2013 04:44:54 -0700 (PDT) Date: Sat, 25 May 2013 15:44:54 +0400 X-Google-Sender-Auth: 8AitSYG19dwyk2Xsv7DEk1L0lRo Message-ID: Subject: Typo in PCI-E Bus Speed measure unit From: Sergey Kandaurov To: Jack F Vogel Content-Type: text/plain; charset=ISO-8859-1 Cc: 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 11:44:55 -0000 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