Sebastien Lorquet sebastien@lorquet.fr [nuttx]
2018-01-22 11:11:22 UTC
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
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