mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-05-14 07:49:17 +08:00
nexus: Add UKPHY driver to ZynqMP
ZynqMP hardware comes with many different Ethernet PHYs depending on which board is used. Add the UKPHY driver to handle basic PHY interaction for any unrecognized PHYs.
This commit is contained in:
parent
3abebabf1d
commit
023e94fd8b
@ -117,6 +117,7 @@ RTEMS_BSD_DRIVER_XILINX_ZYNQMP_SLCR;
|
||||
*/
|
||||
RTEMS_BSD_DRIVER_XILINX_ZYNQMP_CGEM3(ZYNQMP_IRQ_ETHERNET_3);
|
||||
RTEMS_BSD_DRIVER_E1000PHY;
|
||||
RTEMS_BSD_DRIVER_UKPHY;
|
||||
|
||||
#elif defined(LIBBSP_ARM_ATSAM_BSP_H)
|
||||
|
||||
|
@ -78,6 +78,7 @@
|
||||
* RTEMS_BSD_DRIVER_ICSPHY
|
||||
* RTEMS_BSD_DRIVER_REPHY
|
||||
* RTEMS_BSD_DRIVER_PHY_MIC
|
||||
* RTEMS_BSD_DRIVER_UKPHY
|
||||
*/
|
||||
|
||||
#if !defined(RTEMS_BSD_NEXUS_BUS_h)
|
||||
@ -543,6 +544,14 @@ extern "C" {
|
||||
SYSINIT_DRIVER_REFERENCE(micphy, miibus);
|
||||
#endif /* RTEMS_BSD_DRIVER_PHY_MIC */
|
||||
|
||||
/*
|
||||
* UK PHY.
|
||||
*/
|
||||
#if !defined(RTEMS_BSD_DRIVER_UKPHY)
|
||||
#define RTEMS_BSD_DRIVER_UKPHY \
|
||||
SYSINIT_DRIVER_REFERENCE(ukphy, miibus);
|
||||
#endif /* RTEMS_BSD_DRIVER_UKPHY */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
Loading…
x
Reference in New Issue
Block a user