From f8cf0746b3fc6d7732369e39ee9de89bfefdb7b1 Mon Sep 17 00:00:00 2001 From: Christian Mauderer Date: Wed, 30 May 2018 13:34:36 +0200 Subject: beagle: Disable WiFi if libbsd is build without it. Update #3351. --- rtemsbsd/include/bsp/nexus-devices.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'rtemsbsd') diff --git a/rtemsbsd/include/bsp/nexus-devices.h b/rtemsbsd/include/bsp/nexus-devices.h index 13d51ceb..f7003923 100644 --- a/rtemsbsd/include/bsp/nexus-devices.h +++ b/rtemsbsd/include/bsp/nexus-devices.h @@ -37,6 +37,7 @@ #include #include +#include #include @@ -58,6 +59,7 @@ SYSINIT_DRIVER_REFERENCE(usbss, simplebus); SYSINIT_DRIVER_REFERENCE(musbotg, usbss); SYSINIT_DRIVER_REFERENCE(sdhci_ti, simplebus); SYSINIT_DRIVER_REFERENCE(mmcsd, mmc); +#ifdef RTEMS_BSD_MODULE_IEEE80211 SYSINIT_DRIVER_REFERENCE(rtwn_usb, uhub); SYSINIT_MODULE_REFERENCE(wlan_ratectl_none); SYSINIT_MODULE_REFERENCE(wlan_sta); @@ -66,6 +68,7 @@ SYSINIT_MODULE_REFERENCE(wlan_wep); SYSINIT_MODULE_REFERENCE(wlan_tkip); SYSINIT_MODULE_REFERENCE(wlan_ccmp); SYSINIT_REFERENCE(rtwn_rtl8188eufw); +#endif /* RTEMS_BSD_MODULE_IEEE80211 */ RTEMS_BSD_DRIVER_USB; RTEMS_BSD_DRIVER_USB_MASS; -- cgit v1.2.3