diff options
Diffstat (limited to 'rtemsbsd/include/bsp/nexus-devices.h')
-rw-r--r-- | rtemsbsd/include/bsp/nexus-devices.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/rtemsbsd/include/bsp/nexus-devices.h b/rtemsbsd/include/bsp/nexus-devices.h index 082363a0..59e9d7f8 100644 --- a/rtemsbsd/include/bsp/nexus-devices.h +++ b/rtemsbsd/include/bsp/nexus-devices.h @@ -138,7 +138,18 @@ RTEMS_BSD_DRIVER_REPHY; #elif defined(LIBBSP_POWERPC_QORIQ_BSP_H) -#if !QORIQ_CHIP_IS_T_VARIANT(QORIQ_CHIP_VARIANT) +#if QORIQ_CHIP_IS_T_VARIANT(QORIQ_CHIP_VARIANT) + +#include <bsp/irq.h> + +RTEMS_BSD_DEFINE_NEXUS_DEVICE(fman, 0, 0, NULL); +RTEMS_BSD_DEFINE_NEXUS_DEVICE(fman, 1, 0, NULL); + +SYSINIT_DRIVER_REFERENCE(fman_mac, fman); +SYSINIT_DRIVER_REFERENCE(fman_port, fman_mac); +SYSINIT_DRIVER_REFERENCE(ukphy, miibus); + +#else /* QORIQ_CHIP_IS_T_VARIANT(QORIQ_CHIP_VARIANT) */ #include <bsp/irq.h> @@ -147,7 +158,7 @@ SYSINIT_DRIVER_REFERENCE(simplebus, ofwbus); SYSINIT_DRIVER_REFERENCE(tsec, simplebus); SYSINIT_DRIVER_REFERENCE(ukphy, miibus); -#endif /* !QORIQ_CHIP_IS_T_VARIANT(QORIQ_CHIP_VARIANT) */ +#endif /* QORIQ_CHIP_IS_T_VARIANT(QORIQ_CHIP_VARIANT) */ #endif |