From: Sriram Date: Thu, 29 Jul 2010 02:34:00 +0000 (+0000) Subject: TI DaVinci EMAC: Fix incorrect reference to EMAC_CTRL registers. X-Git-Tag: v2.6.36-rc1~571^2~54 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e994762f7afef242738b220b48c00a6fd2b165a1;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed