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

Gleb Smirnoff glebius at FreeBSD.org
Tue Apr 11 09:03:02 UTC 2006


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


More information about the cvs-src mailing list