apm821xx: add linux kernel 5.4 testing support
[openwrt/openwrt.git] / target / linux / ath79 / files / drivers / net / ethernet / atheros / ag71xx / ag71xx.h
index 70c85822942a36427ae4b4cfc726b782f22f8629..fde9db37456d5ce261ff3d4414f3e1dc69f40be0 100644 (file)
@@ -154,6 +154,8 @@ struct ag71xx {
        struct ag71xx_ring      rx_ring ____cacheline_aligned;
        struct ag71xx_ring      tx_ring ____cacheline_aligned;
 
+       int                     mac_idx;
+
        u16                     desc_pktlen_mask;
        u16                     rx_buf_size;
        u8                      rx_buf_offset;
@@ -186,7 +188,7 @@ struct ag71xx {
        struct timer_list       oom_timer;
 
        struct reset_control *mac_reset;
-       struct reset_control *phy_reset;
+       struct reset_control *mdio_reset;
 
        u32                     fifodata[3];
        u32                     plldata[3];