mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-19 00:44:37 +08:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user