net: mvmdio: enhance driver to support SMI error/done interrupts
authorFlorian Fainelli <florian@openwrt.org>
Fri, 22 Mar 2013 03:39:27 +0000 (03:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 Mar 2013 14:25:15 +0000 (10:25 -0400)
commit2ec985213864cb64c45dc0284d7316142eefb5d4
tree376fb2e4758ab5e7a75f8ec935cf2f24074f671f
parent3712b71769578fd39481ce02e1e8cea3c4f8370f
net: mvmdio: enhance driver to support SMI error/done interrupts

This patch enhances the "mvmdio" to support a SMI error/done interrupt
line which can be used along with a wait queue instead of doing
busy-waiting on the registers. This is a feature which is available in
the mv643xx_eth SMI code and thus reduces again the gap between the two.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/marvell-orion-mdio.txt
drivers/net/ethernet/marvell/mvmdio.c