summaryrefslogtreecommitdiffstats
path: root/drivers/net/enc28j60.h
diff options
context:
space:
mode:
authorVishwas Srivastava <vishu.kernel@gmail.com>2016-01-25 21:28:17 +0530
committerAnatolij Gustschin <agust@denx.de>2016-02-06 15:11:57 +0100
commitabbf2d9b56f2583b5f047f64a6efe11c01ef8d4b (patch)
treeed9ab27baddbc790cf0b4af4c5c5447b01082b70 /drivers/net/enc28j60.h
parent1889a7e275c82cfa120004595a652e834c3723e1 (diff)
downloadtalos-obmc-uboot-abbf2d9b56f2583b5f047f64a6efe11c01ef8d4b.tar.gz
talos-obmc-uboot-abbf2d9b56f2583b5f047f64a6efe11c01ef8d4b.zip
net: fix 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 (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 <vishu.kernel@gmail.com> CC: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Signed-off-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'drivers/net/enc28j60.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud