From 28ee86a9b0f2e980beeb637da4f787065c74a39e Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 27 Apr 2016 11:58:19 +0200 Subject: Import DPAA driver snapshot Imported from Freescale Linux repository git://git.freescale.com/ppc/upstream/linux.git commit 2774c204cd8bfc56a200ff4dcdfc9cdf5b6fc161. Linux compatibility layer is partly from FreeBSD. --- rtemsbsd/include/bsp/nexus-devices.h | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'rtemsbsd/include/bsp/nexus-devices.h') 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 + +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 @@ -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 -- cgit v1.2.3