]> git.baikalelectronics.ru Git - kernel.git/commit
TI DaVinci EMAC: Fix incorrect reference to EMAC_CTRL registers.
authorSriram <srk@ti.com>
Thu, 29 Jul 2010 02:34:00 +0000 (02:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 31 Jul 2010 06:55:37 +0000 (23:55 -0700)
commit0719f42e79ade946991d1f594b97f866b2c4b54c
tree37daf2b55d03825e1483a0ac55672f8e3e45f090
parent913c3be0efe70b341a6cc7b437d8fea0694e2fda
TI DaVinci EMAC: Fix incorrect reference to EMAC_CTRL registers.

The EMAC modules control registers vary as per the version of the
EMAC module. EMAC_CTRL_EWCTL,EMAC_CTRL_EWINTTCNT are available
only on EMAC_VERSION_1. The emac_dump_regs() function accesses
these indiscriminately. This patch fixes the issue.

Signed-off-by: Sriramakrishnan <srk@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/davinci_emac.c