summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 e2c22fa..256b513 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);
OpenPOWER on IntegriCloud