Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Apr 2006 13:02:59 +0400
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        Paul Saab <ps@FreeBSD.org>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/share/man/man4 bce.4 src/sys/modules/bce Makefile src/sys/dev/bce if_bce.c if_bcefw.h if_bcereg.h src/sys/dev/mii brgphy.c miidevs
Message-ID:  <20060411090259.GR84736@FreeBSD.org>
In-Reply-To: <200604101955.k3AJtOV8067679@repoman.freebsd.org>
References:  <200604101955.k3AJtOV8067679@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 10, 2006 at 07:55:23PM +0000, Paul Saab wrote:
P> ps          2006-04-10 19:55:23 UTC
P> 
P>   FreeBSD src repository
P> 
P>   Modified files:
P>     sys/dev/mii          brgphy.c miidevs 
P>   Added files:
P>     share/man/man4       bce.4 
P>     sys/modules/bce      Makefile 
P>     sys/dev/bce          if_bce.c if_bcefw.h if_bcereg.h 
P>   Log:
P>   Add a driver for the Broadcom NetXtreme II (BCM5706/BCM5708)
P>   PCI/PCIe Gigabit Ethernet adapeter.
P>   
P>   Submitted by:   David Christensen

If the driver is miibus aware, then you don't need to set if_baudrate.
But I can't understand these lines:

        if (sc->bce_phy_flags & BCE_PHY_2_5G_CAPABLE_FLAG)
                ifp->if_baudrate = IF_Gbps(2.5);
        else
                ifp->if_baudrate = IF_Gbps(1);

What does IF_Gbps(2.5) mean? Driver can do some non-standard speed?

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060411090259.GR84736>