On Fri, Apr 10, 2015 at 03:01:52AM +0200, Sebastian Hesselbarth wrote: > Marvell Neta's transmit descriptor (txdesc) is allocated by dma_alloc_coherent() > but not zeroed before calling mvneta_send the first time. This can cause spurious > transmit errors due to improperly set bits in txdesc's cmd_sts field. > > Fix initial transmit errors by always writing whole cmd_sts field instead of ORing > the bits. > > Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@xxxxxxxxx> > --- > Cc: barebox@xxxxxxxxxxxxxxxxxxx > Cc: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> > Cc: Ezequiel Garcia <ezequiel.garcia@xxxxxxxxxxxxxxxxxx> > Cc: Thomas Petazzoni <thomas.petazzoni@xxxxxxxxxxxxxxxxxx> > --- > drivers/net/mvneta.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied this one, thanks Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox