Skip to content

Commit 14c6cf2

Browse files
committed
drivers: ethernet: stm32n6: Fix phy modes declarations
Phy modes declarations where not correctly placed for use with N6 series. Signed-off-by: Erwan Gouriou <[email protected]>
1 parent 85faaac commit 14c6cf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/ethernet/eth_stm32_hal_priv.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ extern const struct device *eth_stm32_phy_dev;
4949
#define ETH_MII_MODE ETH_MEDIA_INTERFACE_MII
5050
#define ETH_RMII_MODE ETH_MEDIA_INTERFACE_RMII
5151

52-
#define ETH_STM32_AUTO_NEGOTIATION_ENABLE \
52+
#define ETH_STM32_AUTO_NEGOTIATION_ENABLE \
5353
UTIL_NOT(DT_NODE_HAS_PROP(DT_INST_PHANDLE(0, phy_handle), fixed_link))
5454

5555
#else /* CONFIG_ETH_STM32_HAL_API_V2 */

0 commit comments

Comments
 (0)