[rtems-libbsd commit] nexus-devices: Add pc386 nexus device and drivers

Sebastian Huber sebh at rtems.org
Fri Jul 31 11:56:56 UTC 2015


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Jul 31 13:55:44 2015 +0200

nexus-devices: Add pc386 nexus device and drivers

---

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

diff --git a/rtemsbsd/include/bsp/nexus-devices.h b/rtemsbsd/include/bsp/nexus-devices.h
index 3b9a97c..6ccf726 100644
--- a/rtemsbsd/include/bsp/nexus-devices.h
+++ b/rtemsbsd/include/bsp/nexus-devices.h
@@ -115,6 +115,16 @@ RTEMS_BSD_DEFINE_NEXUS_DEVICE(dw_mmc, 0, 0, NULL);
 SYSINIT_DRIVER_REFERENCE(mmc, dw_mmc);
 SYSINIT_DRIVER_REFERENCE(mmcsd, mmc);
 
+#elif defined(LIBBSP_I386_PC386_BSP_H)
+
+RTEMS_BSD_DEFINE_NEXUS_DEVICE(legacy, 0, 0, NULL);
+
+SYSINIT_DRIVER_REFERENCE(pcib, legacy);
+SYSINIT_DRIVER_REFERENCE(pci, pcib);
+SYSINIT_DRIVER_REFERENCE(lem, pci);
+SYSINIT_DRIVER_REFERENCE(igb, pci);
+SYSINIT_DRIVER_REFERENCE(em, pci);
+
 #elif defined(LIBBSP_POWERPC_QORIQ_BSP_H)
 
 #if !QORIQ_CHIP_IS_T_VARIANT(QORIQ_CHIP_VARIANT)



More information about the vc mailing list