diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 2000-10-16 17:08:09 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 2000-10-16 17:08:09 +0000 |
commit | 80f2e900a465814c19deeb0fc8250aedffca0334 (patch) | |
tree | 8c932151b5017cccfd0df13f1d034856f7a84125 /sys/dev/isa | |
parent | 446e06cf4fde4c29fb426a44db99010362e27a48 (diff) |
Use mii_attach() directly instead of mii_phy_probe().
Diffstat (limited to 'sys/dev/isa')
-rw-r--r-- | sys/dev/isa/if_ef_isapnp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/isa/if_ef_isapnp.c b/sys/dev/isa/if_ef_isapnp.c index ee0909799ba..4f40d01eeca 100644 --- a/sys/dev/isa/if_ef_isapnp.c +++ b/sys/dev/isa/if_ef_isapnp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ef_isapnp.c,v 1.7 2000/06/07 02:48:22 aaron Exp $ */ +/* $OpenBSD: if_ef_isapnp.c,v 1.8 2000/10/16 17:08:07 aaron Exp $ */ /* * Copyright (c) 1999 Jason L. Wright (jason@thought.net) @@ -220,7 +220,8 @@ ef_isapnp_attach(parent, self, aux) sc->sc_mii.mii_writereg = ef_miibus_writereg; sc->sc_mii.mii_statchg = ef_miibus_statchg; ifmedia_init(&sc->sc_mii.mii_media, 0, ef_ifmedia_upd, ef_ifmedia_sts); - mii_phy_probe(self, &sc->sc_mii, 0xffffffff); + mii_attach(self, &sc->sc_mii, 0xffffffff, MII_PHY_ANY, MII_OFFSET_ANY, + 0); if (LIST_FIRST(&sc->sc_mii.mii_phys) == NULL) { ifmedia_add(&sc->sc_mii.mii_media, IFM_ETHER|IFM_NONE, 0, NULL); ifmedia_set(&sc->sc_mii.mii_media, IFM_ETHER|IFM_NONE); |