]> git.baikalelectronics.ru Git - kernel.git/commit
staging: octeon-ethernet: rgmii: poll link status on open
authorAaro Koskinen <aaro.koskinen@iki.fi>
Sat, 17 Oct 2015 19:28:54 +0000 (22:28 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 18 Oct 2015 03:56:10 +0000 (20:56 -0700)
commit29b5b3332ae2bc2deb572cdfa4936757700b57a5
tree6c311b9eb52d09dfd28906c942b4c0680c2364ac
parent046bf9c17b2bafe7c4e4f3df7a7e56cb89ecf765
staging: octeon-ethernet: rgmii: poll link status on open

Get the initial link status already on open instead of postponing
it to the periodic poll task. This unifies the behaviour with
other interfaces types.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/octeon/ethernet-rgmii.c