]> 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)
commit298385d5f1a78ffcbb266f34390c360a6d9bed70
tree9207050df4ddd14cd94ab216dd5e006cba98d544
parenta7b4e7770c455051d6e549757ce9b4d48f2b4fd7
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