Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | net: ethernet: ti/cpsw-common.c: fix sparse warning | Lad, Prabhakar | 2015-02-05 |
| | | | | | | | | | this patch fixes following sparse warning: cpsw-common.c:23:5: warning: symbol 'cpsw_am33xx_cm_get_macid' was not declared. Should it be static? Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> | ||
* | net: cpsw: Add a minimal cpsw-common module for shared code | Tony Lindgren | 2015-01-30 |
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> |