From 0de408fc34a4256d0df3038ead0e0c1c4a7982f0 Mon Sep 17 00:00:00 2001 From: Dale Rahn Date: Thu, 22 Aug 2002 04:21:25 +0000 Subject: 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. --- sys/arch/macppc/dev/if_bm.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys/arch/macppc') 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); -- cgit v1.2.3