mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-03 16:04:49 +01:00
realtek: eth: remove obsolete code
Remove defines and variables that are no longer used. Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de> Link: https://github.com/openwrt/openwrt/pull/22156 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
370c99b4ec
commit
94b89029c2
2 changed files with 0 additions and 10 deletions
|
|
@ -1496,9 +1496,7 @@ static const struct rteth_config rteth_930x_cfg = {
|
|||
.qm_rsn2cpuqid_ctrl = RTETH_930X_QM_RSN2CPUQID_CTRL_0,
|
||||
.qm_rsn2cpuqid_cnt = RTETH_930X_QM_RSN2CPUQID_CTRL_CNT,
|
||||
.dma_if_intr_sts = RTETH_930X_DMA_IF_INTR_STS,
|
||||
.dma_if_intr_tx_done_sts = RTL930X_DMA_IF_INTR_TX_DONE_STS,
|
||||
.dma_if_intr_msk = RTETH_930X_DMA_IF_INTR_MSK,
|
||||
.dma_if_intr_rx_done_msk = RTL930X_DMA_IF_INTR_RX_DONE_MSK,
|
||||
.l2_ntfy_if_intr_sts = RTL930X_L2_NTFY_IF_INTR_STS,
|
||||
.l2_ntfy_if_intr_msk = RTL930X_L2_NTFY_IF_INTR_MSK,
|
||||
.dma_if_ctrl = RTL930X_DMA_IF_CTRL,
|
||||
|
|
@ -1546,9 +1544,7 @@ static const struct rteth_config rteth_931x_cfg = {
|
|||
.qm_rsn2cpuqid_ctrl = RTETH_931X_QM_RSN2CPUQID_CTRL_0,
|
||||
.qm_rsn2cpuqid_cnt = RTETH_931X_QM_RSN2CPUQID_CTRL_CNT,
|
||||
.dma_if_intr_sts = RTETH_931X_DMA_IF_INTR_STS,
|
||||
.dma_if_intr_tx_done_sts = RTL931X_DMA_IF_INTR_TX_DONE_STS,
|
||||
.dma_if_intr_msk = RTETH_931X_DMA_IF_INTR_MSK,
|
||||
.dma_if_intr_rx_done_msk = RTL931X_DMA_IF_INTR_RX_DONE_MSK,
|
||||
.l2_ntfy_if_intr_sts = RTL931X_L2_NTFY_IF_INTR_STS,
|
||||
.l2_ntfy_if_intr_msk = RTL931X_L2_NTFY_IF_INTR_MSK,
|
||||
.dma_if_ctrl = RTL931X_DMA_IF_CTRL,
|
||||
|
|
|
|||
|
|
@ -64,15 +64,11 @@
|
|||
#define RTL839X_DMA_IF_CTRL (0x786c)
|
||||
|
||||
#define RTL930X_DMA_IF_CTRL (0xe028)
|
||||
#define RTL930X_DMA_IF_INTR_TX_DONE_STS (0xe024)
|
||||
#define RTL930X_DMA_IF_INTR_RX_DONE_MSK (0xe014)
|
||||
#define RTL930X_L2_NTFY_IF_INTR_MSK (0xe04C)
|
||||
#define RTL930X_L2_NTFY_IF_INTR_STS (0xe050)
|
||||
|
||||
/* TODO: RTL931X_DMA_IF_CTRL has different bits meanings */
|
||||
#define RTL931X_DMA_IF_CTRL (0x0928)
|
||||
#define RTL931X_DMA_IF_INTR_TX_DONE_STS (0x0924)
|
||||
#define RTL931X_DMA_IF_INTR_RX_DONE_MSK (0x0914)
|
||||
#define RTL931X_L2_NTFY_IF_INTR_MSK (0x09E4)
|
||||
#define RTL931X_L2_NTFY_IF_INTR_STS (0x09E8)
|
||||
|
||||
|
|
@ -409,8 +405,6 @@ struct rteth_config {
|
|||
int qm_rsn2cpuqid_cnt;
|
||||
int dma_if_intr_sts;
|
||||
int dma_if_intr_msk;
|
||||
int dma_if_intr_tx_done_sts;
|
||||
int dma_if_intr_rx_done_msk;
|
||||
int l2_ntfy_if_intr_sts;
|
||||
int l2_ntfy_if_intr_msk;
|
||||
int dma_if_ctrl;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue