From: Tony Lindgren Date: Wed, 28 Jan 2015 19:33:04 +0000 (-0800) Subject: net: cpsw: Add a minimal cpsw-common module for shared code X-Git-Tag: fixes-v4.0-rc1~150^2~98^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5a49c1e3b189c744770e04d2b46ec7ca37d604c;p=pandora-kernel.git net: cpsw: Add a minimal cpsw-common module for shared code Looks like davinci_emac and cpsw can share some code although the device registers have a different layout. At least the code for getting the MAC address using syscon can be shared by passing the register offset. Let's start with that and set up a minimal shared cpsw-shared.c. Cc: Brian Hutchinson Cc: Felipe Balbi Signed-off-by: Tony Lindgren Signed-off-by: David S. Miller --- Reading git-diff-tree failed