]> git.baikalelectronics.ru Git - kernel.git/commit
stmmac: fix TX normal DESC
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>
Fri, 1 Apr 2016 07:07:14 +0000 (09:07 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Apr 2016 18:38:58 +0000 (14:38 -0400)
commit4ba5633dca55057365d147c42e8223d8f34dd10c
tree2c28bf43b65edfc75c7ff4f41a621c0b45389040
parentbef44c70190c8e251d6066f32dda6c7a77bdebac
stmmac: fix TX normal DESC

This patch fixs a regression raised when test on chips that use
the normal descriptor layout. In fact, no len bits were set for
the TDES1 and no OWN bit inside the TDES0.

Signed-off-by: Giuseppe CAVALLARO <peppe.cavallaro@st.com>
Tested-by: Andreas Färber <afaerber@suse.de>
Cc: Fabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/norm_desc.c