commit | e994762f7afef242738b220b48c00a6fd2b165a1 | [log] [tgz] |
---|---|---|
author | Sriram <srk@ti.com> | Thu Jul 29 02:34:00 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Jul 30 23:55:37 2010 -0700 |
tree | 37daf2b55d03825e1483a0ac55672f8e3e45f090 | |
parent | 3725b1fe0b9c7e5ba3c4f6e585cd93a7174c1e07 [diff] |
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>