From d0859c85671dabe60c974c7e21635fa26ab1c13d Mon Sep 17 00:00:00 2001 From: "Matthew N. Dodd" Date: Sat, 29 Mar 2003 12:42:01 +0000 Subject: [PATCH] Clear the IFF_OACTIVE flag at the end of ieinit(). This prevents the adapter from becoming wedged when when the interface is is brought up by ether_ioctl() (when you set an IP address for example.) Confirmed this "fix" from NetBSD's i82586 backend. It seems hackish to me but whatever. --- sys/dev/ie/if_ie.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/dev/ie/if_ie.c b/sys/dev/ie/if_ie.c index cc71f4895067..9582ad1a0557 100644 --- a/sys/dev/ie/if_ie.c +++ b/sys/dev/ie/if_ie.c @@ -2080,6 +2080,8 @@ ieinit(xsc) } sc->arpcom.ac_if.if_flags |= IFF_RUNNING; /* tell higher levels * we're here */ + sc->arpcom.ac_if.if_flags &= ~IFF_OACTIVE; + start_receiver(sc); return;