From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Sat, 6 Feb 2016 15:35:12 +0100 Subject: [U-Boot] [PATCH] net: fix wrong initialization in davinci-emac driver In-Reply-To: <1454768906-5468-1-git-send-email-agust@denx.de> References: <1454768906-5468-1-git-send-email-agust@denx.de> Message-ID: <20160206153512.3d2b9580@crub> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, 6 Feb 2016 15:28:26 +0100 Anatolij Gustschin agust at denx.de wrote: > From: Vishwas Srivastava > > 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 (insted of 8) > 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 > CC: Joe Hershberger > Acked-by: Joe Hershberger > Signed-off-by: Anatolij Gustschin > --- > > Changes for v4: > - slightly edit the commit message > - prepare properly formated patch > > Changes for v3: > - Added the missing patch part of v2 > > Changes for v2: > - cleaned up the style format > - addressed various comments given by Joe > > drivers/net/davinci_emac.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Applied to u-boot-staging, thanks! -- Anatolij