ag71xx: fix memory corruption issues on ar7240 on ethernet start/stop
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / files / drivers / net / ag71xx / ag71xx.h
index 1025bb4c491e3a61492f889490135f141e4057a8..9dcbf4a5b2b3d403cf90aad7a31ec552672202d8 100644 (file)
@@ -148,6 +148,9 @@ struct ag71xx {
        struct napi_struct      napi;
        u32                     msg_enable;
 
+       struct ag71xx_desc      *stop_desc;
+       dma_addr_t              stop_desc_dma;
+
        struct ag71xx_ring      rx_ring;
        struct ag71xx_ring      tx_ring;