xiaoxiang781216 commented on code in PR #16926: URL: https://github.com/apache/nuttx/pull/16926#discussion_r2305939428
########## include/nuttx/net/netdev.h: ########## @@ -216,6 +216,18 @@ (netdev_ipv6_lookup(dev, addr, true) != NULL) #endif +/* MDIO Manageable Device (MMD) support with SIOCxMIIREG ioctl commands */ + +#define mdio_phy_id_is_c45(phy_id) \ + ((bool)(((phy_id) & MDIO_PHY_ID_C45) && \ Review Comment: remove bool cast which is unnecessary -- 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: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org