NET: kirkwood-egiga smi access fix
authorSiddarth Gore <gores@marvell.com>
Tue, 19 Jan 2010 05:39:07 +0000 (11:09 +0530)
committerBen Warren <biggerbadderben@gmail.com>
Sun, 7 Feb 2010 06:52:14 +0000 (22:52 -0800)
commite66b19ce6dbe6f91b18ba47273cbe89eb5a80e78
tree9450084a596f4b71a956c22c0c04f84fc9e35079
parenta1b322a98319de568b3bc38029ef7e123643c1e8
NET: kirkwood-egiga smi access fix

Although the datasheet mentions seperate smi registers for each
port, using Port 1 smi register to access ethernet phys does not
work. Hence only Port 0 smi register should be used to access all
devices connected to the smi bus. This behavior is consistant with
the mv643xx driver in the linux kernel.

Signed-off-by: Siddarth Gore <gores@marvell.com>
Acked-by: Prafulla Wadaskar <prafulla@marvell.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
drivers/net/kirkwood_egiga.c