jerpelea opened a new pull request, #20319: URL: https://github.com/apache/nuttx/pull/20319
## Summary When the PHY has not finished its reset yet, the Ethernet drivers of the STM32H7 and of the STM32H5 went on with the default configuration and did not say so, and the interface stayed up with a speed and a duplex that did not match the PHY. stm32_phyinit() polls the reset bit of the PHY and, if it does not clear in time, printed ERROR: Phy reset timeout and returned the result of the last MDIO read. When the PHY does not answer yet the bus reads all ones, and that read succeeds, so the function returned OK. The driver then configured the MAC with its default of 10 Mbps and half duplex, while the PHY went on to negotiate 100 Mbps and full duplex. The interface was up (RUNNING) and could not talk to anyone, and nothing said why. ## Impact RELEASE ## Testing CI -- 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]
