Discussion:
stm32_eth: d_ioctl not controlled by the correct CONFIG_
(too old to reply)
Sebastien Lorquet sebastien@lorquet.fr [nuttx]
2018-01-22 11:11:22 UTC
Permalink
hello,

in arch/arm/src/stm32/stm32_eth.c, line 4017, I read

#ifdef CONFIG_NETDEV_PHY_IOCTL
priv->dev.d_ioctl = stm32_ioctl; /* Support PHY ioctl() calls */
#endif

This should be:

#ifdef CONFIG_NETDEV_IOCTL
priv->dev.d_ioctl = stm32_ioctl; /* Support PHY ioctl() calls */
#endif

to match the new version in include/nuttx/net/netdev.h

Maybe more changes are required? Seems that CONFIG_NETDEV_PHY_IOCTL is still present in a few files, not sure this is intentional or not.

Sebastien

Loading...