|
|
@@ -19,9 +19,6 @@
|
|
|
#include "mtk_eth_soc.h"
|
|
|
#include "mdio_rt2880.h"
|
|
|
|
|
|
-#define RT305X_RESET_FE BIT(21)
|
|
|
-#define RT305X_RESET_ESW BIT(23)
|
|
|
-
|
|
|
static const u16 rt5350_reg_table[FE_REG_COUNT] = {
|
|
|
[FE_REG_PDMA_GLO_CFG] = RT5350_PDMA_GLO_CFG,
|
|
|
[FE_REG_PDMA_RST_CFG] = RT5350_PDMA_RST_CFG,
|
|
|
@@ -115,11 +112,6 @@ static void rt5350_tx_dma(struct fe_tx_dma *txd)
|
|
|
txd->txd4 = 0;
|
|
|
}
|
|
|
|
|
|
-static void rt5350_fe_reset(struct fe_priv *priv)
|
|
|
-{
|
|
|
- fe_reset(RT305X_RESET_FE | RT305X_RESET_ESW);
|
|
|
-}
|
|
|
-
|
|
|
static struct fe_soc_data rt3050_data = {
|
|
|
.init_data = rt305x_init_data,
|
|
|
.fwd_config = rt3050_fwd_config,
|
|
|
@@ -133,7 +125,6 @@ static struct fe_soc_data rt3050_data = {
|
|
|
static struct fe_soc_data rt5350_data = {
|
|
|
.init_data = rt5350_init_data,
|
|
|
.reg_table = rt5350_reg_table,
|
|
|
- .reset_fe = rt5350_fe_reset,
|
|
|
.set_mac = rt5350_set_mac,
|
|
|
.fwd_config = rt5350_fwd_config,
|
|
|
.tx_dma = rt5350_tx_dma,
|