aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/ti/davinci_emac.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2015-01-28 11:33:04 -0800
committerDavid S. Miller <davem@davemloft.net>2015-01-30 17:42:01 -0800
commite5a49c1e3b189c744770e04d2b46ec7ca37d604c (patch)
tree4ffcdc2a900aa73de29b3bfceba7f72dcf3beb0c /drivers/net/ethernet/ti/davinci_emac.c
parentMerge tag 'linux-can-next-for-3.20-20150128' of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next (diff)
downloadlinux-dev-e5a49c1e3b189c744770e04d2b46ec7ca37d604c.tar.xz
linux-dev-e5a49c1e3b189c744770e04d2b46ec7ca37d604c.zip
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 <b.hutchman@gmail.com> Cc: Felipe Balbi <balbi@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti/davinci_emac.c')
0 files changed, 0 insertions, 0 deletions