]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Jun 2010 00:31:48 +0000 (17:31 -0700)
commitabe02c4b189072a70802c5a334bf3d8b73739840
tree6084276117d85d181044d65bc1dd9c691cb11694
parent42944d96647d92bd6011f7a2fd5e826f110da72f
r8169: fix mdio_read and update mdio_write according to hw specs

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>
drivers/net/r8169.c