]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
r6040: check MDIO register busy waiting result
authorFlorian Fainelli <florian@openwrt.org>
Wed, 6 Mar 2013 00:41:32 +0000 (00:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Mar 2013 20:40:53 +0000 (15:40 -0500)
commit09e7fae97702f9fcc875b56f3b687e88408b32e5
tree2caec264a00dae91f686d86b7637b6234837d4d1
parent7a6742003f3c8650c4d3f9edcae1cf8a5cdda276
r6040: check MDIO register busy waiting result

We are currently busy waiting for MDIO registers to complete their
operation but we did not propagate the result back to the caller.
Update r6040_phy_{read,write} to report the busy waiting result
accordingly.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/rdc/r6040.c