From d62a3df1c770a64aff894bb3e698130ddf722ad0 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 17 Jan 2018 13:28:45 +0100 Subject: sdk_dpaa: Port to RTEMS Update #3277. --- rtemsbsd/include/bsp/nexus-devices.h | 8 ++++++++ 1 file changed, 8 insertions(+) (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 a44149a6..dc90322c 100644 --- a/rtemsbsd/include/bsp/nexus-devices.h +++ b/rtemsbsd/include/bsp/nexus-devices.h @@ -146,6 +146,12 @@ RTEMS_BSD_DRIVER_REPHY; #include +#ifdef QORIQ_IS_HYPERVISOR_GUEST + +RTEMS_BSD_DEFINE_NEXUS_DEVICE(dpaa_ml, 0, 0, NULL); + +#else /* !QORIQ_IS_HYPERVISOR_GUEST */ + RTEMS_BSD_DEFINE_NEXUS_DEVICE(fman, 0, 0, NULL); RTEMS_BSD_DEFINE_NEXUS_DEVICE(fman, 1, 0, NULL); @@ -153,6 +159,8 @@ SYSINIT_DRIVER_REFERENCE(fman_mac, fman); SYSINIT_DRIVER_REFERENCE(fman_port, fman_mac); SYSINIT_DRIVER_REFERENCE(ukphy, miibus); +#endif /* QORIQ_IS_HYPERVISOR_GUEST */ + #else /* QORIQ_CHIP_IS_T_VARIANT(QORIQ_CHIP_VARIANT) */ #include -- cgit v1.2.3