mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-22 19:35:43 +08:00
rtemsbsd: Make ZynqMP CGEM interfaces selectable
Use the new options from the ZynqMP BSPs to allow selection of the available CGEM ethernet interfaces.
This commit is contained in:
parent
400dcc41d7
commit
4ce914cb90
@ -115,7 +115,18 @@ RTEMS_BSD_DRIVER_XILINX_ZYNQMP_SLCR;
|
||||
* CGEM3 is used for LibBSD because all Zynq Ultrascale+ MPSoC dev boards treat
|
||||
* the highest-mapped CGEM as the primary interface.
|
||||
*/
|
||||
#if BSP_XILINX_ZYNQMP_USE_CGEM0
|
||||
RTEMS_BSD_DRIVER_XILINX_ZYNQMP_CGEM0(ZYNQMP_IRQ_ETHERNET_0);
|
||||
#endif
|
||||
#if BSP_XILINX_ZYNQMP_USE_CGEM1
|
||||
RTEMS_BSD_DRIVER_XILINX_ZYNQMP_CGEM1(ZYNQMP_IRQ_ETHERNET_1);
|
||||
#endif
|
||||
#if BSP_XILINX_ZYNQMP_USE_CGEM2
|
||||
RTEMS_BSD_DRIVER_XILINX_ZYNQMP_CGEM2(ZYNQMP_IRQ_ETHERNET_2);
|
||||
#endif
|
||||
#if BSP_XILINX_ZYNQMP_USE_CGEM3
|
||||
RTEMS_BSD_DRIVER_XILINX_ZYNQMP_CGEM3(ZYNQMP_IRQ_ETHERNET_3);
|
||||
#endif
|
||||
RTEMS_BSD_DRIVER_E1000PHY;
|
||||
RTEMS_BSD_DRIVER_UKPHY;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user