--- freebsd/sys/dev/usb/net/usb_ethernet.c | 6 +++++- libbsd.txt | 6 +++--- 2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/freebsd/sys/dev/usb/net/usb_ethernet.c b/freebsd/sys/dev/usb/net/usb_ethernet.c index de923e9..6497385 100644 --- a/freebsd/sys/dev/usb/net/usb_ethernet.c +++ b/freebsd/sys/dev/usb/net/usb_ethernet.c @@ -655,5 +655,9 @@ uether_rxflush(struct usb_ether *ue) } } -DECLARE_MODULE(uether, uether_mod, SI_SUB_PSEUDO, SI_ORDER_ANY); +/* + * USB net drivers are run by DRIVER_MODULE() thus SI_SUB_DRIVERS, + * SI_ORDER_MIDDLE. Run uether after that. + */ +DECLARE_MODULE(uether, uether_mod, SI_SUB_DRIVERS, SI_ORDER_ANY); MODULE_VERSION(uether, 1); diff --git a/libbsd.txt b/libbsd.txt index 121acfa..fc3fa5e 100644 --- a/libbsd.txt +++ b/libbsd.txt @@ -768,9 +768,9 @@ detail and debug level information from the command. . sys/dev/dwc/*, trunk, 2015-03-26, cfc3df2b8f708ce8494d9d556e3472a5c8c21b8a . sys/dev/usb/*, trunk, 2015-10-30, 968dafb4fcf133cb8beb6fa3c558fecd7dc00ef0 . *, stable/9, 2015-04-08, 99a648a912e81e29d9c4c159cbbe263462f2d719 -. sys/arm/broadcom/bcm2835/bcm283x_dwc_fdt.c, trunk, 2016-05-26, a7019c8505c0592f2e80ac63be139075d8977c4e -. sys/dev/usb/controller/dwc_otg_fdt.*, trunk, 2016-05-26, a7019c8505c0592f2e80ac63be139075d8977c4e -. sys/dev/usb/net/*, trunk, 2016-05-26, a7019c8505c0592f2e80ac63be139075d8977c4e +. sys/arm/broadcom/bcm2835/bcm283x_dwc_fdt.c, trunk, 2016-08-23, 9fe7c416e6abb28b1398fd3e5687099846800cfd +. sys/dev/usb/controller/dwc_otg_fdt.*, trunk, 2016-08-23, 9fe7c416e6abb28b1398fd3e5687099846800cfd +. sys/dev/usb/net/*, trunk, 2016-08-23, 9fe7c416e6abb28b1398fd3e5687099846800cfd == How to import code from FreeBSD -- 2.7.4 _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel