OpenCloudOS-Kernel/drivers/net/ethernet/mediatek
Ilya Lipnitskiy 3bc8e0aff2 net: ethernet: mtk_eth_soc: use iopoll.h macro for DMA init
Replace a tight busy-wait loop without a pause with a standard
readx_poll_timeout_atomic routine with a 5 us poll period.

Tested by booting a MT7621 device to ensure the driver initializes
properly.

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-04-23 13:31:58 -07:00
..
Kconfig net: ethernet: mtk_eth_soc: implement dynamic interrupt moderation 2021-04-23 13:31:58 -07:00
Makefile net: ethernet: mtk_eth_soc: add flow offloading support 2021-03-24 12:48:40 -07:00
mtk_eth_path.c net: mtk_eth: simplify the mediatek code return expression 2020-12-14 17:51:26 -08:00
mtk_eth_soc.c net: ethernet: mtk_eth_soc: use iopoll.h macro for DMA init 2021-04-23 13:31:58 -07:00
mtk_eth_soc.h net: ethernet: mtk_eth_soc: use iopoll.h macro for DMA init 2021-04-23 13:31:58 -07:00
mtk_ppe.c net: ethernet: mediatek: ppe: fix busy wait loop 2021-04-16 15:24:18 -07:00
mtk_ppe.h net: ethernet: mediatek: ppe: fix busy wait loop 2021-04-16 15:24:18 -07:00
mtk_ppe_debugfs.c net: ethernet: mtk_eth_soc: remove unused variable 'count' 2021-03-25 17:13:38 -07:00
mtk_ppe_offload.c net: ethernet: mtk_eth_soc: handle VLAN pop action 2021-04-19 15:55:05 -07:00
mtk_ppe_regs.h net: ethernet: mtk_eth_soc: add support for initializing the PPE 2021-03-24 12:48:39 -07:00
mtk_sgmii.c net: mediatek: remove unneeded semicolon 2019-10-28 16:36:24 -07:00
mtk_star_emac.c net: ethernet: mtk-star-emac: fix wrong unmap in RX handling 2021-03-02 15:28:07 -08:00