cvs commit: src/sys/dev/netif/mii_layer acphy.c amphy.c brgphy.c dcphy.c exphy.c inphy.c lxtphy.c mii_physubr.c miivar.h mlphy.c nsgphy.c nsphy.c pnphy.c qsphy.c rlphy.c ruephy.c tlphy.c ukphy.c ukphy_subr.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Mon Oct 24 08:58:59 PDT 2005
dillon 2005/10/24 08:55:33 PDT
DragonFly src repository
Modified files:
sys/dev/netif/mii_layer acphy.c amphy.c brgphy.c dcphy.c
exphy.c inphy.c lxtphy.c mii_physubr.c
miivar.h mlphy.c nsgphy.c nsphy.c
pnphy.c qsphy.c rlphy.c ruephy.c
tlphy.c ukphy.c ukphy_subr.c
Log:
Only check GiGE related flags in the generic code when MIIF_IS_1000X is set
in mii_softc->mii_flags. This really only effects the generic MII code, as
the flags for GigE may not be compatible with all devices (such as xl(4)).
Change the mii_add_media() API to pass mii_softc instead of mii_data, and
derive the instance id from the softc instead of passing it.
Reported-by: Sepherosa Ziehau <sepherosa at xxxxxxxxx>
Revision Changes Path
1.6 +1 -2 src/sys/dev/netif/mii_layer/acphy.c
1.7 +1 -2 src/sys/dev/netif/mii_layer/amphy.c
1.9 +2 -3 src/sys/dev/netif/mii_layer/brgphy.c
1.6 +1 -1 src/sys/dev/netif/mii_layer/dcphy.c
1.6 +1 -2 src/sys/dev/netif/mii_layer/exphy.c
1.5 +1 -1 src/sys/dev/netif/mii_layer/inphy.c
1.6 +1 -2 src/sys/dev/netif/mii_layer/lxtphy.c
1.8 +16 -11 src/sys/dev/netif/mii_layer/mii_physubr.c
1.7 +2 -2 src/sys/dev/netif/mii_layer/miivar.h
1.6 +1 -2 src/sys/dev/netif/mii_layer/mlphy.c
1.9 +1 -1 src/sys/dev/netif/mii_layer/nsgphy.c
1.6 +1 -2 src/sys/dev/netif/mii_layer/nsphy.c
1.7 +1 -1 src/sys/dev/netif/mii_layer/pnphy.c
1.6 +1 -2 src/sys/dev/netif/mii_layer/qsphy.c
1.7 +1 -2 src/sys/dev/netif/mii_layer/rlphy.c
1.2 +1 -1 src/sys/dev/netif/mii_layer/ruephy.c
1.6 +1 -2 src/sys/dev/netif/mii_layer/tlphy.c
1.6 +1 -2 src/sys/dev/netif/mii_layer/ukphy.c
1.5 +13 -9 src/sys/dev/netif/mii_layer/ukphy_subr.c
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/mii_layer/acphy.c.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/mii_layer/amphy.c.diff?r1=1.6&r2=1.7&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/mii_layer/brgphy.c.diff?r1=1.8&r2=1.9&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/mii_layer/dcphy.c.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/mii_layer/exphy.c.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/mii_layer/inphy.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/mii_layer/lxtphy.c.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/mii_layer/mii_physubr.c.diff?r1=1.7&r2=1.8&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/mii_layer/miivar.h.diff?r1=1.6&r2=1.7&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/mii_layer/mlphy.c.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/mii_layer/nsgphy.c.diff?r1=1.8&r2=1.9&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/mii_layer/nsphy.c.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/mii_layer/pnphy.c.diff?r1=1.6&r2=1.7&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/mii_layer/qsphy.c.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/mii_layer/rlphy.c.diff?r1=1.6&r2=1.7&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/mii_layer/ruephy.c.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/mii_layer/tlphy.c.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/mii_layer/ukphy.c.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/mii_layer/ukphy_subr.c.diff?r1=1.4&r2=1.5&f=u
More information about the Commits
mailing list