arch/arm/stm32h7: declare NETDEV_TX_STAMP capability flag
Some checks are pending
MemBrowse Memory Report / changes-filter (push) Waiting to run
MemBrowse Memory Report / load-targets (push) Waiting to run
MemBrowse Memory Report / identical (push) Blocked by required conditions
MemBrowse Memory Report / analyze (push) Blocked by required conditions

Advertise NETDEV_TX_STAMP in dev.d_features during stm32_ethinitialize()
when CONFIG_STM32_ETH_TIMESTAMP_TX is enabled, indicating that the STM32H7
Ethernet driver provides hardware TX timestamping.

Assisted-by: Gemini:gemini-3.8-pro
Assisted-by: Claude:claude-sonnet-5
Signed-off-by: Daniel P. Carvalho <danieloak@gmail.com>
This commit is contained in:
Daniel P. Carvalho 2026-09-24 10:33:03 -03:00 • committed by Alan C. Assis
parent 864132395d
commit 317bfcf67c

View file

@ -5161,6 +5161,10 @@ static inline int stm32_ethinitialize(int intf)
priv->dev.d_features |= NETDEV_RX_STAMP;
#endif
#ifdef CONFIG_STM32_ETH_TIMESTAMP_TX
priv->dev.d_features |= NETDEV_TX_STAMP;
#endif
/* Register the device with the OS so that socket IOCTLs can be performed */
netdev_register(&priv->dev, NET_LL_ETHERNET);