ar71xx: use global timestamp for hang check
[openwrt/openwrt.git] / target / linux / ar71xx / files / drivers / net / ethernet / atheros / ag71xx / ag71xx.h
index 5ead6b316a3cba80ab9e6e238f535ff90db63b50..38dcc915f938aa4acd285a0b65053a2bd14a2381 100644 (file)
@@ -100,9 +100,8 @@ struct ag71xx_buf {
        };
        union {
                dma_addr_t      dma_addr;
-               unsigned long   timestamp;
+               unsigned int            len;
        };
-       unsigned int            len;
 };
 
 struct ag71xx_ring {
@@ -170,6 +169,8 @@ struct ag71xx {
        struct napi_struct      napi;
        u32                     msg_enable;
 
+       unsigned long   timestamp;
+
        /*
         * From this point onwards we're not looking at per-packet fields.
         */