
28 Mar
2014
28 Mar
'14
4:49 p.m.
On Fri, Mar 21, 2014 at 05:01:43PM -0400, Murali Karicheri wrote:
Ethernet driver configures the CPSW, SGMI and Phy and uses the the Navigator APIs. The driver supports 4 Ethernet ports and can work with only one port at a time.
Port configurations are defined in board.c.
Signed-off-by: Vitaly Andrianov vitalya@ti.com Signed-off-by: Murali Karicheri m-karicheri2@ti.com Signed-off-by: WingMan Kwok w-kwok2@ti.com
[snip]
+#define reg_rmw(addr, value, mask) \
- writel(((readl(addr) & (~(mask))) | (value)), (addr))
Don't we have something in asm/io.h that does this already?
--
Tom