jnippula opened a new pull request, #21718:
URL: https://github.com/apache/nuttx/pull/21718
## Summary
Add phylib device drivers for Realtek RTL8201F and RTL8211F.
Changes to `phylib` framework:
- Make generic phy device driver interface methods (`genphy_xxx`) public, so
that they can be reused in vendor specific drivers. This reduces duplicate code.
- Allow lower-half driver pointer to be NULL in `phy_connect()` call to
avoid automatic carrier notifications for MAC controlled PHYs.
## Impact
Affects all new phy drivers utilizing phylib api.
- `genphy_xxx` interface functions can be reused.
Affects all boards using phylib:
- Possibility to use NULL as phy_connect() `lower` argument to avoid
automatic carrier notifications from PHY.
Affects all boards using RTL8201F and RTL8201F PHY:
- Enabling `CONFIG_NET_PHY_REALTEK_RTL8201F` or
`CONFIG_NET_PHY_REALTEK_RTL8211F`
to enable appropriate phy device driver to the build.
## Testing
**OSTest log:**
[ostest_11-Nov-26_002.log](https://github.com/user-attachments/files/34692535/ostest_11-Nov-26_002.log)
**Documentation:**
- Documentation successfully built with make html
- Doc changes verified with browser
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]