diff options
| author | 2022-05-20 20:11:34 +0200 | |
|---|---|---|
| committer | 2022-05-22 22:24:33 +0100 | |
| commit | 72e27d3718ba24e75bef7a17d1acd8fbfe37c623 (patch) | |
| tree | c82826a7b2cdaacb11c1da5d99dd3024c08a8341 /drivers/net/netdevsim/git:/ssh:/git@git.zx2c4.com | |
| parent | net: ethernet: mtk_eth_soc: rely on txd_size field in mtk_poll_tx/mtk_poll_rx (diff) | |
| download | linux-dev-72e27d3718ba24e75bef7a17d1acd8fbfe37c623.tar.xz linux-dev-72e27d3718ba24e75bef7a17d1acd8fbfe37c623.zip | |
net: ethernet: mtk_eth_soc: rely on rxd_size field in mtk_rx_alloc/mtk_rx_clean
Remove mtk_rx_dma structure layout dependency in mtk_rx_alloc/mtk_rx_clean.
Initialize to 0 rxd3 and rxd4 in mtk_rx_alloc.
This is a preliminary patch to add mt7986 ethernet support.
Tested-by: Sam Shih <sam.shih@mediatek.com>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netdevsim/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
