]> git.ipfire.org Git - thirdparty/u-boot.git/commit
net: dwc_eth_qos: Start DMA and MAC after tail pointers are initialized
authorJonas Karlman <jonas@kwiboo.se>
Thu, 29 Jan 2026 21:01:51 +0000 (21:01 +0000)
committerJerome Forissier <jerome.forissier@arm.com>
Fri, 6 Feb 2026 15:42:45 +0000 (16:42 +0100)
commit8beb70f2309d6fd6abb1d5c539edab9b0934d656
treeae6144a083d7d22174f149e8303097ed6124bdf8
parent34c1ab534c69366d6eeb3d693a9afd37bd14aba5
net: dwc_eth_qos: Start DMA and MAC after tail pointers are initialized

The DesignWare Cores Ethernet Quality-of-Service databook state that
receive and transmit descriptor list address and also transmit and
receive tail pointer registers should be initialized before the receive
and transmit DMAs are started.

It also state to enable the MAC receiver only after the DMA is active.
Otherwise, received frames can fill the Rx FIFO and overflow.

Move the activation of receive and transmit DMA and MAC receiver until
after tail pointer registers have been initialized.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
drivers/net/dwc_eth_qos.c