net: stmmac: switch to use interrupt for hw crosstimestamping
[platform/kernel/linux-starfive.git] / drivers / net / ethernet / stmicro / stmmac / stmmac.h
index 57970ae..f9e8396 100644 (file)
@@ -266,6 +266,7 @@ struct stmmac_priv {
        rwlock_t ptp_lock;
        /* Protects auxiliary snapshot registers from concurrent access. */
        struct mutex aux_ts_lock;
+       wait_queue_head_t tstamp_busy_wait;
 
        void __iomem *mmcaddr;
        void __iomem *ptpaddr;