Clean import of if_de.c as of 970513, if_de.c rev 1.86. This should
have optional if_media support. Obtained from: Matt Thomas via http://www.3am-software.com/
This commit is contained in:
parent
cb031f1c21
commit
e5d6c2c9e7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/vendor/NetBSD/dist/; revision=26793
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user