Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/adm5120/dev Don't include mii*.h because this ...



details:   https://anonhg.NetBSD.org/src/rev/eda9c56f42ba
branches:  trunk
changeset: 456078:eda9c56f42ba
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Mon Apr 22 06:09:19 2019 +0000

description:
Don't include mii*.h because this driver doesn't use MII(4).

diffstat:

 sys/arch/mips/adm5120/dev/if_admsw.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r 6573a1571176 -r eda9c56f42ba sys/arch/mips/adm5120/dev/if_admsw.c
--- a/sys/arch/mips/adm5120/dev/if_admsw.c      Mon Apr 22 04:10:33 2019 +0000
+++ b/sys/arch/mips/adm5120/dev/if_admsw.c      Mon Apr 22 06:09:19 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_admsw.c,v 1.20 2019/04/12 05:19:24 msaitoh Exp $ */
+/* $NetBSD: if_admsw.c,v 1.21 2019/04/22 06:09:19 msaitoh Exp $ */
 
 /*-
  * Copyright (c) 2007 Ruslan Ermilov and Vsevolod Lobko.
@@ -76,7 +76,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_admsw.c,v 1.20 2019/04/12 05:19:24 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_admsw.c,v 1.21 2019/04/22 06:09:19 msaitoh Exp $");
 
 
 #include <sys/param.h>
@@ -104,9 +104,6 @@
 
 #include <net/bpf.h>
 
-#include <dev/mii/mii.h>
-#include <dev/mii/miivar.h>
-
 #include <sys/gpio.h>
 #include <dev/gpio/gpiovar.h>
 



Home | Main Index | Thread Index | Old Index