]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: Integrate XGMAC into main driver flow
authorJose Abreu <Jose.Abreu@synopsys.com>
Wed, 8 Aug 2018 08:04:35 +0000 (09:04 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Aug 2018 18:16:28 +0000 (11:16 -0700)
commit6f94503b6ab35e5f076f47d9ad538ea766c337be
tree12e739411c1c4a69280e66e7abfc2ea2f2cd457b
parent88f1006d450e37401a57b1f91f28680417afa28c
net: stmmac: Integrate XGMAC into main driver flow

Now that we have all the XGMAC related callbacks, lets start integrating
this IP block into main driver.

Also, we corrected the initialization flow to only start DMA after
setting descriptors length.

Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Joao Pinto <jpinto@synopsys.com>
Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Cc: Alexandre Torgue <alexandre.torgue@st.com>
Cc: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c