ramips: ethernet: ralink: add fe_reset_fe() to reset fe via reset controller
[openwrt/staging/dedeckeh.git] / target / linux / ramips / files / drivers / net / ethernet / ralink / soc_rt3883.c
index afcc3da4e457226206c978b148d7f68d046fd918..7b61e9c40731cda3cecb19f4290876811c39eee4 100644 (file)
 #include "mtk_eth_soc.h"
 #include "mdio_rt2880.h"
 
-#define RT3883_RSTCTRL_FE              BIT(21)
-
-static void rt3883_fe_reset(struct fe_priv *priv)
-{
-       fe_reset(RT3883_RSTCTRL_FE);
-}
-
 static int rt3883_fwd_config(struct fe_priv *priv)
 {
        int ret;
@@ -54,7 +47,6 @@ static void rt3883_init_data(struct fe_soc_data *data,
 
 static struct fe_soc_data rt3883_data = {
        .init_data = rt3883_init_data,
-       .reset_fe = rt3883_fe_reset,
        .fwd_config = rt3883_fwd_config,
        .pdma_glo_cfg = FE_PDMA_SIZE_8DWORDS,
        .rx_int = FE_RX_DONE_INT,