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/pci/if_rl.c | |
parent | 446e06cf4fde4c29fb426a44db99010362e27a48 (diff) |
Use mii_attach() directly instead of mii_phy_probe().
Diffstat (limited to 'sys/dev/pci/if_rl.c')
-rw-r--r-- | sys/dev/pci/if_rl.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/pci/if_rl.c b/sys/dev/pci/if_rl.c index e32cbbf1e4f..85c53d7c444 100644 --- a/sys/dev/pci/if_rl.c +++ b/sys/dev/pci/if_rl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_rl.c,v 1.21 2000/02/21 20:56:07 jason Exp $ */ +/* $OpenBSD: if_rl.c,v 1.22 2000/10/16 17:08:08 aaron Exp $ */ /* * Copyright (c) 1997, 1998 @@ -1399,7 +1399,8 @@ rl_attach(parent, self, aux) sc->sc_mii.mii_writereg = rl_miibus_writereg; sc->sc_mii.mii_statchg = rl_miibus_statchg; ifmedia_init(&sc->sc_mii.mii_media, 0, rl_ifmedia_upd, rl_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); |