aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Strobl <marius@FreeBSD.org>2004-05-29 18:29:53 +0000
committerMarius Strobl <marius@FreeBSD.org>2004-05-29 18:29:53 +0000
commit23465eaec2202cde8e5ee1cecd6b5c407b845e48 (patch)
treea205d9be31b23f06688a641f3587ca2b1eb53b31
parentf0e531572d9dd5057c120928b19b989a4e7e5c32 (diff)
Notes
-rw-r--r--sys/dev/hme/if_hme.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/hme/if_hme.c b/sys/dev/hme/if_hme.c
index e2c22fa27447d..256b513462e66 100644
--- a/sys/dev/hme/if_hme.c
+++ b/sys/dev/hme/if_hme.c
@@ -34,7 +34,7 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
- * from: NetBSD: hme.c,v 1.20 2000/12/14 06:27:25 thorpej Exp
+ * from: NetBSD: hme.c,v 1.29 2002/05/05 03:02:38 thorpej Exp
*/
#include <sys/cdefs.h>
@@ -817,6 +817,9 @@ hme_init(void *xsc)
HME_MAC_READ_4(sc, HME_MACI_TXCFG));
#endif
+ /* Set the current media. */
+ mii_mediachg(sc->sc_mii);
+
/* Start the one second timer. */
callout_reset(&sc->sc_tick_ch, hz, hme_tick, sc);