summaryrefslogtreecommitdiffstats
path: root/rtemsbsd/include/bsp/nexus-devices.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-04-27 11:58:19 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-10-23 08:46:43 +0200
commit28ee86a9b0f2e980beeb637da4f787065c74a39e (patch)
treee2daa4e96e0488de2066fcb5f38e087c9a58f319 /rtemsbsd/include/bsp/nexus-devices.h
parentpowerpc: Fix warnings (diff)
downloadrtems-libbsd-28ee86a9b0f2e980beeb637da4f787065c74a39e.tar.bz2
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.
Diffstat (limited to 'rtemsbsd/include/bsp/nexus-devices.h')
-rw-r--r--rtemsbsd/include/bsp/nexus-devices.h15
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