]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Set MIIF_NOLOOP and don't add IFM_LOOP as loopback apparently isn't
authorMarius Strobl <marius@FreeBSD.org>
Thu, 19 Mar 2009 22:34:55 +0000 (22:34 +0000)
committerMarius Strobl <marius@FreeBSD.org>
Thu, 19 Mar 2009 22:34:55 +0000 (22:34 +0000)
commitb54282f61ea4481ca374db4e3405f6ce84acb9ac
treea83ff9f5d1a5d297eaa4c1873aa60c523eabc7fe
parentf449699d539b3f025c1be7e463455eed81cfbb1a
- Set MIIF_NOLOOP and don't add IFM_LOOP as loopback apparently isn't
  supported with these pseudo-PHYs. The MIIF_NOLOOP flag currently triggers
  nothing but hopefully will be respected by mii_phy_setmedia() later on.
- Don't add IFM_NONE as isolation isn't supported by these pseudo-PHYs.
- Use mii_phy_add_media() instead of mii_add_media() so the latter can
  be eventually retired.
sys/dev/dc/dcphy.c
sys/dev/dc/pnphy.c