diff options
-rw-r--r-- | sys/arch/socppc/dev/if_tsec.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/socppc/dev/if_tsec.c b/sys/arch/socppc/dev/if_tsec.c index 99c6029edb3..2c28b4a2153 100644 --- a/sys/arch/socppc/dev/if_tsec.c +++ b/sys/arch/socppc/dev/if_tsec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_tsec.c,v 1.1 2008/05/19 19:56:44 kettenis Exp $ */ +/* $OpenBSD: if_tsec.c,v 1.2 2008/05/24 08:56:16 kettenis Exp $ */ /* * Copyright (c) 2008 Mark Kettenis @@ -888,6 +888,9 @@ tsec_up(struct tsec_softc *sc) tsec_write(sc, TSEC_TSTAT, TSEC_TSTAT_THLT); tsec_write(sc, TSEC_RSTAT, TSEC_RSTAT_QHLT); + /* Configure media. */ + mii_mediachg(&sc->sc_mii); + ifp->if_flags |= IFF_RUNNING; ifp->if_flags &= ~IFF_OACTIVE; |