diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2012-07-30 16:58:20 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2012-07-30 16:58:20 +0000 |
commit | 099062ce3bad5e2d24cd48088b995fdf2a2bcabe (patch) | |
tree | 2b2f56759b40f196badd90ca31ed220e0622f0d5 /sys/arch/sparc/dev | |
parent | 91dcfda0a2fa039a7ad681263814c3000107a979 (diff) |
Revert previous change, and don't set IFM_AVALID | IFM_ACTIVE in ifm_status
to appease dhcpd, as dhcpd has now been fixed to not require this.
repeated prodding and special ok deraadt@
Diffstat (limited to 'sys/arch/sparc/dev')
-rw-r--r-- | sys/arch/sparc/dev/if_le.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/arch/sparc/dev/if_le.c b/sys/arch/sparc/dev/if_le.c index c01e21d58e1..cb695439433 100644 --- a/sys/arch/sparc/dev/if_le.c +++ b/sys/arch/sparc/dev/if_le.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_le.c,v 1.32 2012/07/25 18:18:59 miod Exp $ */ +/* $OpenBSD: if_le.c,v 1.33 2012/07/30 16:58:19 miod Exp $ */ /* $NetBSD: if_le.c,v 1.50 1997/09/09 20:54:48 pk Exp $ */ /*- @@ -278,8 +278,6 @@ lemediastatus(ifp, ifmr) struct am7990_softc *sc = ifp->if_softc; struct le_softc *lesc = (struct le_softc *)sc; - ifmr->ifm_status = IFM_AVALID | IFM_ACTIVE; - if (lesc->sc_dma == NULL) { if (lesc->sc_lebufchild) ifmr->ifm_active = IFM_ETHER | IFM_10_T; @@ -300,7 +298,6 @@ lemediastatus(ifp, ifmr) else ifmr->ifm_active = IFM_ETHER | IFM_10_5; #else - ifmr->ifm_status = IFM_AVALID | IFM_ACTIVE; ifmr->ifm_active = IFM_ETHER | IFM_10_5; #endif } |