freebsd-dev/sys/dev/usb/net
Stephen J. Kiernan df845c0f86 usb_ethernet.h includes a number of mii headers, but only does so in
order to have struct mii_data available. However, it only really needs
a forward declaration of struct mii_data for use in pointer form for
the return type of a function prototype.

Custom kernel configuration that have usb and fdt enabled, but no miibus,
end up with compilation failures because miibus_if.h will not get
generated.

Due to the above, the following changes have been made to usb_ethernet.h:
 * remove the inclusion of mii headers
 * forward-declare struct mii_data
 * include net/ifq.h to satify the need for complete struct ifqueue

Reviewed by:	ian
Obtained from:	Juniper Networks, Inc.
Differential Revision:	https://reviews.freebsd.org/D21293
2019-08-20 01:06:43 +00:00
..
if_aue.c
if_auereg.h
if_axe.c
if_axereg.h
if_axge.c
if_axgereg.h
if_cdce.c Add support for RTL8156, 2.5GbE USB network controller, to if_cdce(4). 2019-07-10 05:45:50 +00:00
if_cdceem.c Add cdceem(4) driver, for virtual ethernet devices compliant 2019-08-07 18:14:45 +00:00
if_cdcereg.h
if_cue.c
if_cuereg.h
if_ipheth.c
if_iphethvar.h
if_kue.c
if_kuefw.h
if_kuereg.h
if_mos.c
if_mosreg.h
if_muge.c if_muge: set IFCAP_VLAN_MTU to maintain 1500 MTU with vlan use 2019-07-02 16:44:04 +00:00
if_mugereg.h muge: update FDT LED configuration 2019-05-20 19:31:49 +00:00
if_rue.c
if_ruereg.h
if_smsc.c Add common support functions for USB devices configured via FDT data. 2019-05-19 16:56:59 +00:00
if_smscreg.h
if_udav.c
if_udavreg.h
if_ure.c In some cases like NanoPI R1, its second USB ethernet 2019-04-09 13:54:08 +00:00
if_urereg.h Fix URE_WDT6_SET_MODE value in the register definition. 2019-04-08 13:40:46 +00:00
if_urndis.c Add support for tethering with Nokia 7 plus and the alike. 2019-07-28 21:47:04 +00:00
if_urndisreg.h
if_usie.c Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
if_usievar.h
ruephy.c
ruephyreg.h
uhso.c Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
usb_ethernet.c
usb_ethernet.h usb_ethernet.h includes a number of mii headers, but only does so in 2019-08-20 01:06:43 +00:00