commit | 1e4e82baee8c2a8d753cbf6aa1a77326b71e59f0 | [log] [tgz] |
---|---|---|
author | Francois Romieu <romieu@fr.zoreil.com> | Fri Jun 24 19:52:13 2011 +0200 |
committer | Francois Romieu <romieu@fr.zoreil.com> | Fri Jun 24 19:52:13 2011 +0200 |
tree | a7c2cdd267875c31c1e6908c6ae5ea361e55df15 | |
parent | 5c18e80be9ff362f6523b097d495bb2e2f939946 [diff] [blame] |
r8169: fix wrong register use. Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Cc: Realtek linux nic maintainers <nic_swsd@realtek.com>
diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c index 05d8178..5990621 100644 --- a/drivers/net/r8169.c +++ b/drivers/net/r8169.c
@@ -742,7 +742,7 @@ msleep(2); for (i = 0; i < 5; i++) { udelay(100); - if (!(RTL_R32(ERIDR) & ERIAR_FLAG)) + if (!(RTL_R32(ERIAR) & ERIAR_FLAG)) break; }