On Mon, Jan 13, 2014 at 01:28:38PM +0400, Alexey Brodkin wrote: > Driver "init" function might be called multiple times. > On every "init" Tx/Rx buffer descriptors are initialized: "descs_init" > -> "{tx|rx}_descs_init". > > In its turn those init functions set MAC's "{tx|rx}desclistaddr" to > point on the first buffer descriptor in the list. > > So CPU to start operation from the first buffer descriptor as well after > every "init" we have to reset "{tx|rx}_currdescnum". > > Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> > > Cc: Joe Hershberger <joe.hershber...@ni.com> > Cc: Vipin Kumar <vipin.ku...@st.com> > Cc: Stefan Roese <s...@denx.de> > Cc: Mischa Jonker <mjon...@synopsys.com>
Applied to u-boot/master, thanks! -- Tom
signature.asc
Description: Digital signature
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot