diff options
author | Francois Romieu <romieu@fr.zoreil.com> | 2011-06-24 19:52:13 +0200 |
---|---|---|
committer | Francois Romieu <romieu@fr.zoreil.com> | 2011-06-24 19:52:13 +0200 |
commit | 1e4e82baee8c2a8d753cbf6aa1a77326b71e59f0 (patch) | |
tree | a7c2cdd267875c31c1e6908c6ae5ea361e55df15 /drivers/net/r8169.c | |
parent | 5c18e80be9ff362f6523b097d495bb2e2f939946 (diff) | |
download | op-kernel-dev-1e4e82baee8c2a8d753cbf6aa1a77326b71e59f0.zip op-kernel-dev-1e4e82baee8c2a8d753cbf6aa1a77326b71e59f0.tar.gz |
r8169: fix wrong register use.
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Cc: Realtek linux nic maintainers <nic_swsd@realtek.com>
Diffstat (limited to 'drivers/net/r8169.c')
-rw-r--r-- | drivers/net/r8169.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ static void rtl8168_oob_notify(struct rtl8169_private *tp, u8 cmd) msleep(2); for (i = 0; i < 5; i++) { udelay(100); - if (!(RTL_R32(ERIDR) & ERIAR_FLAG)) + if (!(RTL_R32(ERIAR) & ERIAR_FLAG)) break; } |