Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Nov 2011 11:18:08 +0200
From:      Philip Paeps <philip@freebsd.org>
To:        Ben Hutchings <bhutchings@solarflare.com>
Cc:        freebsd-net@freebsd.org, marius@freebsd.org
Subject:   Re: sfxge: Fix if_baudrate reports
Message-ID:  <B1822065-20D5-4171-89F9-9C9D2C2236FE@freebsd.org>
In-Reply-To: <1321651935.2883.74.camel@bwh-desktop>
References:  <1321651935.2883.74.camel@bwh-desktop>

next in thread | previous in thread | raw e-mail | index | archive | help
On 18 Nov 2011, at 23:32, Ben Hutchings wrote:
> sfxge: Fix if_baudrate reports
> 
> This field is supposed to be set to the interface bit rate, but for
> some reason I thought it was denominated in kilobits.  Multiply the
> values up accordingly, taking care to saturate rather than overflow on
> 32-bit architectures.

Committed.  Thanks!

 - Philip

-- 
Philip Paeps
Senior Reality Engineer
Ministry of Information




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B1822065-20D5-4171-89F9-9C9D2C2236FE>