summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1997-06-22 09:36:50 +0000
committerPeter Wemm <peter@FreeBSD.org>1997-06-22 09:36:50 +0000
commite5d6c2c9e7f35dc0ba43408dcf39ddca2a374e0c (patch)
tree72ed04d4012a6b9f23e2a6c59b6b93bb2af4a4e1
parentcb031f1c21d4ab86e16d9efede5de8df56c238d3 (diff)
downloadsrc-test2-e5d6c2c9e7f35dc0ba43408dcf39ddca2a374e0c.tar.gz
src-test2-e5d6c2c9e7f35dc0ba43408dcf39ddca2a374e0c.zip
Notes
-rw-r--r--sys/pci/if_de.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/pci/if_de.c b/sys/pci/if_de.c
index a2c0916456ed..87479da748ca 100644
--- a/sys/pci/if_de.c
+++ b/sys/pci/if_de.c
@@ -21,7 +21,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: if_de.c,v 1.85 1997/05/08 16:48:22 thomas Exp $
+ * $Id: if_de.c,v 1.86 1997/05/13 15:03:11 thomas Exp $
*
*/
@@ -3833,8 +3833,10 @@ tulip_ifioctl(
for (media = TULIP_MEDIA_UNKNOWN; media < TULIP_MEDIA_MAX; media++) {
if (sc->tulip_mediums[media] != NULL && --flags == 0) {
sc->tulip_flags |= TULIP_NOAUTOSENSE;
- if (sc->tulip_media != media)
+ if (sc->tulip_media != media || (sc->tulip_flags & TULIP_DIDNWAY)) {
+ sc->tulip_flags &= ~TULIP_DIDNWAY;
tulip_linkup(sc, media);
+ }
break;
}
}