Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Aug 2019 15:14:32 +0000 (UTC)
From:      Justin Hibbits <jhibbits@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r351250 - head/sys/dev/usb/net
Message-ID:  <201908201514.x7KFEWCs071012@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhibbits
Date: Tue Aug 20 15:14:32 2019
New Revision: 351250
URL: https://svnweb.freebsd.org/changeset/base/351250

Log:
  Unbreak USB ethernet module builds
  
  Sponsored by:	Juniper Networks, Inc.

Modified:
  head/sys/dev/usb/net/if_aue.c
  head/sys/dev/usb/net/if_axe.c
  head/sys/dev/usb/net/if_axge.c
  head/sys/dev/usb/net/if_mos.c
  head/sys/dev/usb/net/if_muge.c
  head/sys/dev/usb/net/if_rue.c
  head/sys/dev/usb/net/if_smsc.c
  head/sys/dev/usb/net/if_udav.c
  head/sys/dev/usb/net/if_ure.c

Modified: head/sys/dev/usb/net/if_aue.c
==============================================================================
--- head/sys/dev/usb/net/if_aue.c	Tue Aug 20 14:46:12 2019	(r351249)
+++ head/sys/dev/usb/net/if_aue.c	Tue Aug 20 15:14:32 2019	(r351250)
@@ -92,7 +92,11 @@ __FBSDID("$FreeBSD$");
 
 #include <net/if.h>
 #include <net/if_var.h>
+#include <net/if_media.h>
 
+#include <dev/mii/mii.h>
+#include <dev/mii/miivar.h>
+
 #include <dev/usb/usb.h>
 #include <dev/usb/usbdi.h>
 #include <dev/usb/usbdi_util.h>
@@ -104,6 +108,8 @@ __FBSDID("$FreeBSD$");
 
 #include <dev/usb/net/usb_ethernet.h>
 #include <dev/usb/net/if_auereg.h>
+
+#include "miibus_if.h"
 
 #ifdef USB_DEBUG
 static int aue_debug = 0;

Modified: head/sys/dev/usb/net/if_axe.c
==============================================================================
--- head/sys/dev/usb/net/if_axe.c	Tue Aug 20 14:46:12 2019	(r351249)
+++ head/sys/dev/usb/net/if_axe.c	Tue Aug 20 15:14:32 2019	(r351250)
@@ -116,6 +116,8 @@ __FBSDID("$FreeBSD$");
 #include <dev/usb/net/usb_ethernet.h>
 #include <dev/usb/net/if_axereg.h>
 
+#include "miibus_if.h"
+
 /*
  * AXE_178_MAX_FRAME_BURST
  * max frame burst size for Ax88178 and Ax88772

Modified: head/sys/dev/usb/net/if_axge.c
==============================================================================
--- head/sys/dev/usb/net/if_axge.c	Tue Aug 20 14:46:12 2019	(r351249)
+++ head/sys/dev/usb/net/if_axge.c	Tue Aug 20 15:14:32 2019	(r351250)
@@ -48,7 +48,11 @@ __FBSDID("$FreeBSD$");
 
 #include <net/if.h>
 #include <net/if_var.h>
+#include <net/if_media.h>
 
+#include <dev/mii/mii.h>
+#include <dev/mii/miivar.h>
+
 #include <dev/usb/usb.h>
 #include <dev/usb/usbdi.h>
 #include <dev/usb/usbdi_util.h>
@@ -60,6 +64,8 @@ __FBSDID("$FreeBSD$");
 
 #include <dev/usb/net/usb_ethernet.h>
 #include <dev/usb/net/if_axgereg.h>
+
+#include "miibus_if.h"
 
 /*
  * Various supported device vendors/products.

Modified: head/sys/dev/usb/net/if_mos.c
==============================================================================
--- head/sys/dev/usb/net/if_mos.c	Tue Aug 20 14:46:12 2019	(r351249)
+++ head/sys/dev/usb/net/if_mos.c	Tue Aug 20 15:14:32 2019	(r351250)
@@ -120,7 +120,11 @@ __FBSDID("$FreeBSD$");
 
 #include <net/if.h>
 #include <net/if_var.h>
+#include <net/if_media.h>
 
+#include <dev/mii/mii.h>
+#include <dev/mii/miivar.h>
+
 #include <dev/usb/usb.h>
 #include <dev/usb/usbdi.h>
 #include <dev/usb/usbdi_util.h>
@@ -131,6 +135,8 @@ __FBSDID("$FreeBSD$");
 #include <dev/usb/usb_process.h>
 
 #include <dev/usb/net/usb_ethernet.h>
+
+#include "miibus_if.h"
 
 //#include <dev/usb/net/if_mosreg.h>
 #include "if_mosreg.h"

Modified: head/sys/dev/usb/net/if_muge.c
==============================================================================
--- head/sys/dev/usb/net/if_muge.c	Tue Aug 20 14:46:12 2019	(r351249)
+++ head/sys/dev/usb/net/if_muge.c	Tue Aug 20 15:14:32 2019	(r351250)
@@ -87,7 +87,11 @@ __FBSDID("$FreeBSD$");
 
 #include <net/if.h>
 #include <net/if_var.h>
+#include <net/if_media.h>
 
+#include <dev/mii/mii.h>
+#include <dev/mii/miivar.h>
+
 #include <netinet/in.h>
 #include <netinet/ip.h>
 
@@ -112,6 +116,8 @@ __FBSDID("$FreeBSD$");
 #include <dev/usb/net/usb_ethernet.h>
 
 #include <dev/usb/net/if_mugereg.h>
+
+#include "miibus_if.h"
 
 #ifdef USB_DEBUG
 static int muge_debug = 0;

Modified: head/sys/dev/usb/net/if_rue.c
==============================================================================
--- head/sys/dev/usb/net/if_rue.c	Tue Aug 20 14:46:12 2019	(r351249)
+++ head/sys/dev/usb/net/if_rue.c	Tue Aug 20 15:14:32 2019	(r351250)
@@ -89,7 +89,11 @@ __FBSDID("$FreeBSD$");
 
 #include <net/if.h>
 #include <net/if_var.h>
+#include <net/if_media.h>
 
+#include <dev/mii/mii.h>
+#include <dev/mii/miivar.h>
+
 #include <dev/usb/usb.h>
 #include <dev/usb/usbdi.h>
 #include <dev/usb/usbdi_util.h>
@@ -101,6 +105,8 @@ __FBSDID("$FreeBSD$");
 
 #include <dev/usb/net/usb_ethernet.h>
 #include <dev/usb/net/if_ruereg.h>
+
+#include "miibus_if.h"
 
 #ifdef USB_DEBUG
 static int rue_debug = 0;

Modified: head/sys/dev/usb/net/if_smsc.c
==============================================================================
--- head/sys/dev/usb/net/if_smsc.c	Tue Aug 20 14:46:12 2019	(r351249)
+++ head/sys/dev/usb/net/if_smsc.c	Tue Aug 20 15:14:32 2019	(r351250)
@@ -87,7 +87,11 @@ __FBSDID("$FreeBSD$");
 
 #include <net/if.h>
 #include <net/if_var.h>
+#include <net/if_media.h>
 
+#include <dev/mii/mii.h>
+#include <dev/mii/miivar.h>
+
 #include <netinet/in.h>
 #include <netinet/ip.h>
 
@@ -112,6 +116,8 @@ __FBSDID("$FreeBSD$");
 #include <dev/usb/net/usb_ethernet.h>
 
 #include <dev/usb/net/if_smscreg.h>
+
+#include "miibus_if.h"
 
 #ifdef USB_DEBUG
 static int smsc_debug = 0;

Modified: head/sys/dev/usb/net/if_udav.c
==============================================================================
--- head/sys/dev/usb/net/if_udav.c	Tue Aug 20 14:46:12 2019	(r351249)
+++ head/sys/dev/usb/net/if_udav.c	Tue Aug 20 15:14:32 2019	(r351250)
@@ -70,11 +70,17 @@ __FBSDID("$FreeBSD$");
 
 #include <net/if.h>
 #include <net/if_var.h>
+#include <net/if_media.h>
 
+#include <dev/mii/mii.h>
+#include <dev/mii/miivar.h>
+
 #include <dev/usb/usb.h>
 #include <dev/usb/usbdi.h>
 #include <dev/usb/usbdi_util.h>
 #include "usbdevs.h"
+
+#include "miibus_if.h"
 
 #define	USB_DEBUG_VAR udav_debug
 #include <dev/usb/usb_debug.h>

Modified: head/sys/dev/usb/net/if_ure.c
==============================================================================
--- head/sys/dev/usb/net/if_ure.c	Tue Aug 20 14:46:12 2019	(r351249)
+++ head/sys/dev/usb/net/if_ure.c	Tue Aug 20 15:14:32 2019	(r351250)
@@ -41,7 +41,11 @@ __FBSDID("$FreeBSD$");
 
 #include <net/if.h>
 #include <net/if_var.h>
+#include <net/if_media.h>
 
+#include <dev/mii/mii.h>
+#include <dev/mii/miivar.h>
+
 #include <dev/usb/usb.h>
 #include <dev/usb/usbdi.h>
 #include <dev/usb/usbdi_util.h>
@@ -53,6 +57,8 @@ __FBSDID("$FreeBSD$");
 
 #include <dev/usb/net/usb_ethernet.h>
 #include <dev/usb/net/if_urereg.h>
+
+#include "miibus_if.h"
 
 #ifdef USB_DEBUG
 static int ure_debug = 0;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908201514.x7KFEWCs071012>