mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
STM32 Ethernet: Last patch breaks every board that does not use the KSZ80801 PHY.
This commit is contained in:
@@ -192,6 +192,7 @@
|
||||
|
||||
/* These definitions are used to enable the PHY interrupts */
|
||||
|
||||
#if defined(CONFIG_NETDEV_PHY_IOCTL) && defined(CONFIG_ARCH_PHY_INTERRUPT)
|
||||
# if defined( CONFIG_ETH0_PHY_AM79C874)
|
||||
# error missing logic
|
||||
# elif defined( CONFIG_ETH0_PHY_KS8721)
|
||||
@@ -223,6 +224,7 @@
|
||||
# else
|
||||
# error unknown PHY
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_STM32_ETH_PTP
|
||||
# warning "CONFIG_STM32_ETH_PTP is not yet supported"
|
||||
|
||||
Reference in New Issue
Block a user