[rtems-libbsd commit] beagle: Disable WiFi if libbsd is build without it.

Christian Mauderer christianm at rtems.org
Tue Jun 5 08:00:32 UTC 2018


Module:    rtems-libbsd
Branch:    master
Commit:    f8cf0746b3fc6d7732369e39ee9de89bfefdb7b1
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=f8cf0746b3fc6d7732369e39ee9de89bfefdb7b1

Author:    Christian Mauderer <christian.mauderer at embedded-brains.de>
Date:      Wed May 30 13:34:36 2018 +0200

beagle: Disable WiFi if libbsd is build without it.

Update #3351.

---

 rtemsbsd/include/bsp/nexus-devices.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/rtemsbsd/include/bsp/nexus-devices.h b/rtemsbsd/include/bsp/nexus-devices.h
index 13d51ce..f700392 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;



More information about the vc mailing list