diff options
author | mdodd <mdodd@FreeBSD.org> | 2003-03-29 12:42:01 +0000 |
---|---|---|
committer | mdodd <mdodd@FreeBSD.org> | 2003-03-29 12:42:01 +0000 |
commit | 743bf455af516483ef5bb48de5868809dccc78d1 (patch) | |
tree | 39061eca3a06d45205af83c571507e1c142a3fc9 /sys/dev/ie | |
parent | 41c45e390c4a55757151f30cc984b910d5239ba9 (diff) | |
download | FreeBSD-src-743bf455af516483ef5bb48de5868809dccc78d1.zip FreeBSD-src-743bf455af516483ef5bb48de5868809dccc78d1.tar.gz |
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.
Diffstat (limited to 'sys/dev/ie')
-rw-r--r-- | sys/dev/ie/if_ie.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/ie/if_ie.c b/sys/dev/ie/if_ie.c index cc71f48..9582ad1 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; |