cpsw: simplify the setup of the register pointers
authorRichard Cochran <richardcochran@gmail.com>
Wed, 14 Nov 2012 09:07:56 +0000 (09:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Nov 2012 03:09:06 +0000 (22:09 -0500)
commit549985ee9c723fea8fd7759b5046fb8249896d50
tree9207050df4ddd14cd94ab216dd5e006cba98d544
parent1fb19aa730e400e474b562c55227849060549733
cpsw: simplify the setup of the register pointers

Instead of having a host of different register offsets in the device tree,
this patch simplifies the CPSW code by letting the driver set the proper
register offsets automatically, based on the CPSW version.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/cpsw.txt
drivers/net/ethernet/ti/cpsw.c
include/linux/platform_data/cpsw.h