r8169: fix mdio_read and update mdio_write according to hw specs
commit0bc4d2f86c7c6bf4bc8dab446e184744cdee51d0
authorTimo Teräs <timo.teras@iki.fi>
Thu, 10 Jun 2010 00:31:48 +0000 (9 17:31 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 27 Sep 2010 00:21:22 +0000 (26 17:21 -0700)
tree98f63a4a8f7bc64e1b4f0daa7a211039554da4e1
parent9ab48c2ea9806947d8f5fcadb0c47767c29f175c
r8169: fix mdio_read and update mdio_write according to hw specs

[ Upstream commit 81a95f049962ec20a9aed888e676208b206f0f2e ]

Realtek confirmed that a 20us delay is needed after mdio_read and
mdio_write operations. Reduce the delay in mdio_write, and add it
to mdio_read too. Also add a comment that the 20us is from hw specs.

Signed-off-by: Timo Teräs <timo.teras@iki.fi>
Acked-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/r8169.c