summaryrefslogtreecommitdiffstats
path: root/rtemsbsd
diff options
context:
space:
mode:
authorChristian Mauderer <christian.mauderer@embedded-brains.de>2018-05-30 13:34:36 +0200
committerChristian Mauderer <christian.mauderer@embedded-brains.de>2018-06-05 09:59:16 +0200
commitf8cf0746b3fc6d7732369e39ee9de89bfefdb7b1 (patch)
tree223062b24b2442ef4f1c78d508b9f74adc3ed567 /rtemsbsd
parentwaf: Fix python3 compatibility. (diff)
downloadrtems-libbsd-f8cf0746b3fc6d7732369e39ee9de89bfefdb7b1.tar.bz2
beagle: Disable WiFi if libbsd is build without it.
Update #3351.
Diffstat (limited to 'rtemsbsd')
-rw-r--r--rtemsbsd/include/bsp/nexus-devices.h3
1 files changed, 3 insertions, 0 deletions
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 <bsp.h>
#include <rtems/bsd/bsd.h>
+#include <rtems/bsd/modules.h>
#include <machine/rtems-bsd-nexus-bus.h>
@@ -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;