diff options
Diffstat (limited to 'rtemsbsd/bsp/bsp-bsd-nexus-devices.c')
-rw-r--r-- | rtemsbsd/bsp/bsp-bsd-nexus-devices.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/rtemsbsd/bsp/bsp-bsd-nexus-devices.c b/rtemsbsd/bsp/bsp-bsd-nexus-devices.c index 4f1e1a1f..bf8aeefc 100644 --- a/rtemsbsd/bsp/bsp-bsd-nexus-devices.c +++ b/rtemsbsd/bsp/bsp-bsd-nexus-devices.c @@ -36,6 +36,7 @@ #include <bsp.h> #if defined(LIBBSP_ARM_REALVIEW_PBX_A9_BSP_H) + #include <bsp/irq.h> static const rtems_bsd_device_resource smc0_res[] = { @@ -60,8 +61,25 @@ const rtems_bsd_device rtems_bsd_nexus_devices[] = { }; SYSINIT_DRIVER_REFERENCE(smc, nexus); + +#elif defined(__GENMCF548X_BSP_H) + +const rtems_bsd_device rtems_bsd_nexus_devices[] = { + { + .name = "fec", + .unit = 0 + }, { + .name = "fec", + .unit = 1 + } +}; + +SYSINIT_DRIVER_REFERENCE(fec, nexus); + #else + const rtems_bsd_device rtems_bsd_nexus_devices[0]; + #endif const size_t rtems_bsd_nexus_device_count = |