]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc64a27d8befdd42899862aa94d4a749f194bb9d9
tree376fb2e4758ab5e7a75f8ec935cf2f24074f671f
parentd380e4d9f4d23b0824288279eb009b90c1f189de
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