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/pcmcia/if_xe.c | |
parent | 446e06cf4fde4c29fb426a44db99010362e27a48 (diff) |
Use mii_attach() directly instead of mii_phy_probe().
Diffstat (limited to 'sys/dev/pcmcia/if_xe.c')
-rw-r--r-- | sys/dev/pcmcia/if_xe.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/pcmcia/if_xe.c b/sys/dev/pcmcia/if_xe.c index f2823a6b4a4..adbeba6504b 100644 --- a/sys/dev/pcmcia/if_xe.c +++ b/sys/dev/pcmcia/if_xe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_xe.c,v 1.16 2000/08/26 20:08:39 nate Exp $ */ +/* $OpenBSD: if_xe.c,v 1.17 2000/10/16 17:08:08 aaron Exp $ */ /* * Copyright (c) 1999 Niklas Hallqvist, Brandon Creighton, Job de Haas @@ -408,7 +408,8 @@ xe_pcmcia_attach(parent, self, aux) xe_mediastatus); DPRINTF(XED_MII | XED_CONFIG, ("bmsr %x\n", xe_mdi_read(&sc->sc_dev, 0, 1))); - 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_AUTO, 0, NULL); |