Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/isa Remove extra test for SIOCSIFMEDIA.



details:   https://anonhg.NetBSD.org/src/rev/762ced102b81
branches:  trunk
changeset: 450729:762ced102b81
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Wed Apr 24 09:35:54 2019 +0000

description:
Remove extra test for SIOCSIFMEDIA.

diffstat:

 sys/dev/isa/if_iy.c |  10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

diffs (39 lines):

diff -r b353d8c1ce15 -r 762ced102b81 sys/dev/isa/if_iy.c
--- a/sys/dev/isa/if_iy.c       Wed Apr 24 09:21:01 2019 +0000
+++ b/sys/dev/isa/if_iy.c       Wed Apr 24 09:35:54 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_iy.c,v 1.104 2019/02/05 06:17:02 msaitoh Exp $      */
+/*     $NetBSD: if_iy.c,v 1.105 2019/04/24 09:35:54 msaitoh Exp $      */
 /* #define IYDEBUG */
 /* #define IYMEMDEBUG */
 
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_iy.c,v 1.104 2019/02/05 06:17:02 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_iy.c,v 1.105 2019/04/24 09:35:54 msaitoh Exp $");
 
 #include "opt_inet.h"
 
@@ -60,8 +60,8 @@
 #include <net/if_types.h>
 #include <net/if_dl.h>
 #include <net/bpf.h>
-
 #include <net/if_ether.h>
+#include <net/if_media.h>
 
 #ifdef INET
 #include <netinet/in.h>
@@ -72,10 +72,6 @@
 #endif
 
 
-#if defined(SIOCSIFMEDIA)
-#include <net/if_media.h>
-#endif
-
 #include <sys/cpu.h>
 #include <sys/bus.h>
 #include <sys/intr.h>



Home | Main Index | Thread Index | Old Index