diff options
Diffstat (limited to 'rtemsbsd/include/bsp/nexus-devices.h')
-rw-r--r-- | rtemsbsd/include/bsp/nexus-devices.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 <bsp/irq.h> +#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 <bsp/irq.h> |