]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc5d0dd2cfa668e77ea0bf7b0c1452169ada0de1a
tree9207050df4ddd14cd94ab216dd5e006cba98d544
parent94e011736e5422c6f51d7d532446ebad893e06bf
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