]> git.karo-electronics.de Git - karo-tx-linux.git/commit
r8169: fix mdio_read and update mdio_write according to hw specs
authorTimo Teräs <timo.teras@iki.fi>
Thu, 10 Jun 2010 00:31:48 +0000 (17:31 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 2 Aug 2010 17:29:19 +0000 (10:29 -0700)
commitefa4be3c2cb92b1d9d7d04ab91736cfc937a9764
treecbf0232d52dbda7aef179d4ad123e8fa912acb4b
parent3e3435c62f1c8df22a08d50efea3b0ad910b1284
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