[U-Boot] [PATCH]: net: Wrong Initialization in davinci-emac driver

Joe Hershberger joe.hershberger at gmail.com
Wed Jan 27 19:53:07 CET 2016


On Mon, Jan 25, 2016 at 11:00 AM, Vishwas Srivastava
<vishu.kernel at gmail.com> wrote:
> Author: Vishwas Srivastava <vishu.kernel at gmail.com>
> Date:   Mon Jan 25 21:28:17 2016 +0530
>
>     Wrong Initialization in davinci emac driver
>
>     emac module of the davinci platform supports only 8 tx and
>     8 rx channels (total 16). emac driver for davinci platform,
>     however, while doing initialization of the dma descriptor
>     head pointers,wrongly initializes the 16 head pointers
>     (instead of  8) for tx dma and 16 head pointers for rx dma,
>     which is wrong.The result is, that this register initilization
>     spills over the other registers which was not intended and is
>     undesirable.This patch fixes this problem.
>
>     Signed-off-by: Vishwas Srivastava <vishu.kernel at gmail.com>
>     CC: Sergey Kubushyn <ksi at koi8.net>;Joe Hershberger <
> joe.hershberger at ni.com>
>     Signed-off-by: Vishwas Srivastava <vishu.kernel at gmail.com>

Acked-by: Joe Hershberger <joe.hershberger at ni.com>


More information about the U-Boot mailing list