]> git.baikalelectronics.ru Git - kernel.git/commit
net: ti cpsw ethernet: set IFCTL_A bit in MACCONTROL
authorDaniel Mack <zonque@gmail.com>
Thu, 27 Sep 2012 09:19:34 +0000 (09:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Oct 2012 21:09:07 +0000 (17:09 -0400)
commit916cdeba6e14d8b2368c2d72349f2b62122c66b1
treede68d9aea359b8f2a315a02896ca2457a7b627bb
parentfec955364f7bb144c620ab671c714d7978132213
net: ti cpsw ethernet: set IFCTL_A bit in MACCONTROL

For RMII/RGMII mode operation in 100Mbps, the CPSW needs to set the
IFCTL_A bits in the MACCONTROL register. For all other PHY modes, this
bit is unused, so setting it unconditionally shouldn't cause any
trouble.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Cc: Mugunthan V N <mugunthanvnm@ti.com>
Cc: Vaibhav Hiremath <hvaibhav@ti.com>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c