mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-05-14 14:10:27 +08:00
nexus-devices: Fix for QorIQ T variants
This commit is contained in:
parent
9bfcb86790
commit
024e064449
@ -90,6 +90,8 @@ SYSINIT_DRIVER_REFERENCE(e1000phy, miibus);
|
|||||||
|
|
||||||
#elif defined(LIBBSP_POWERPC_QORIQ_BSP_H)
|
#elif defined(LIBBSP_POWERPC_QORIQ_BSP_H)
|
||||||
|
|
||||||
|
#if !QORIQ_CHIP_IS_T_VARIANT(QORIQ_CHIP_VARIANT)
|
||||||
|
|
||||||
#include <bsp/irq.h>
|
#include <bsp/irq.h>
|
||||||
|
|
||||||
static const rtems_bsd_device_resource tsec0_res[] = {
|
static const rtems_bsd_device_resource tsec0_res[] = {
|
||||||
@ -115,4 +117,6 @@ static const rtems_bsd_device_resource tsec0_res[] = {
|
|||||||
RTEMS_BSD_DEFINE_NEXUS_DEVICE(tsec, 0, RTEMS_ARRAY_SIZE(tsec0_res),
|
RTEMS_BSD_DEFINE_NEXUS_DEVICE(tsec, 0, RTEMS_ARRAY_SIZE(tsec0_res),
|
||||||
&tsec0_res[0]);
|
&tsec0_res[0]);
|
||||||
|
|
||||||
|
#endif /* !QORIQ_CHIP_IS_T_VARIANT(QORIQ_CHIP_VARIANT) */
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user