diff options
author | 2002-08-22 04:21:24 +0000 | |
---|---|---|
committer | 2002-08-22 04:21:24 +0000 | |
commit | 45a71b9e61cd86fb94aa0b3a33d00c0a65e392ed (patch) | |
tree | 89e904a7d20294e96143ce09c501c18ed6c96664 | |
parent | add missing CLEANFILES; ok miod@ (diff) | |
download | wireguard-openbsd-45a71b9e61cd86fb94aa0b3a33d00c0a65e392ed.tar.xz wireguard-openbsd-45a71b9e61cd86fb94aa0b3a33d00c0a65e392ed.zip |
Configure the media in the initialization routine so that media/mediaopt
fields in hostname.bm0 will work correctly. This does not fix the 100MB
receive problem, but allows media 10baseT in hostname.bm0 to set the
speed to a working speed.
-rw-r--r-- | sys/arch/macppc/dev/if_bm.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/macppc/dev/if_bm.c b/sys/arch/macppc/dev/if_bm.c index 792d76d5c0f..8cd417fd1c0 100644 --- a/sys/arch/macppc/dev/if_bm.c +++ b/sys/arch/macppc/dev/if_bm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bm.c,v 1.8 2002/04/26 17:26:52 mickey Exp $ */ +/* $OpenBSD: if_bm.c,v 1.9 2002/08/22 04:21:24 drahn Exp $ */ /* $NetBSD: if_bm.c,v 1.1 1999/01/01 01:27:52 tsubai Exp $ */ /*- @@ -448,6 +448,9 @@ bmac_init(sc) bmac_init_dma(sc); + /* Configure Media. */ + mii_mediachg(&sc->sc_mii); + /* Enable TX/RX */ bmac_set_bits(sc, RXCFG, RxMACEnable); bmac_set_bits(sc, TXCFG, TxMACEnable); |