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
..
2019-08-19 14:33:22 +00:00
2019-08-18 09:19:33 +00:00
2019-08-19 22:53:05 +00:00
2019-08-15 17:43:36 +00:00
2019-08-19 23:01:59 +00:00
2019-08-19 22:53:05 +00:00
2019-08-19 18:15:17 +00:00
2019-08-19 22:53:05 +00:00
2019-06-08 16:26:56 +00:00