mirror of
https://github.com/apache/nuttx.git
synced 2026-09-30 19:06:22 +00:00
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
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:
parent
864132395d
commit
317bfcf67c
1 changed files with 4 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue