Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net Back out previous. It was just ... braindamaged.
details: https://anonhg.NetBSD.org/src/rev/4dea29a33ca7
branches: trunk
changeset: 472496:4dea29a33ca7
user: thorpej <thorpej%NetBSD.org@localhost>
date: Fri Apr 30 17:47:36 1999 +0000
description:
Back out previous. It was just ... braindamaged.
diffstat:
sys/net/if_media.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (19 lines):
diff -r dde18f3bf80b -r 4dea29a33ca7 sys/net/if_media.c
--- a/sys/net/if_media.c Fri Apr 30 17:30:49 1999 +0000
+++ b/sys/net/if_media.c Fri Apr 30 17:47:36 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_media.c,v 1.4 1999/04/30 17:30:49 abs Exp $ */
+/* $NetBSD: if_media.c,v 1.5 1999/04/30 17:47:36 thorpej Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -260,8 +260,7 @@
* Similarly, if best match changed (kernel debugger?).
*/
if ((IFM_SUBTYPE(newmedia) != IFM_AUTO) &&
- (newmedia == ifm->ifm_media || (ifm->ifm_media == 0 &&
- LIST_NEXT(ifm->ifm_list.lh_first,ifm_list)==0)) &&
+ (newmedia == ifm->ifm_media) &&
(match == ifm->ifm_cur))
return 0;
Home |
Main Index |
Thread Index |
Old Index