]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Report the correct result of mii_mediachg(). Previously it always
authorPyun YongHyeon <yongari@FreeBSD.org>
Wed, 23 Dec 2009 18:42:25 +0000 (18:42 +0000)
committerPyun YongHyeon <yongari@FreeBSD.org>
Wed, 23 Dec 2009 18:42:25 +0000 (18:42 +0000)
commitbfe051bd2edcad6b6b1952bf2a4da22497abb921
treed12fbc2e3b0cfff33f958e1e58744e3444aaf894
parent5b7e31187e150d5efc18bf610bc2dd9d17968c05
Report the correct result of mii_mediachg(). Previously it always
used to return success without respect to the result.
While I'm here use mii_mediachg() in ste_init_locked which allows
driver to use currently configured media. ste_ifmedia_upd() is
supposed to be called whenever user changes current media settings.
sys/dev/ste/if_ste.c