summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-07-11 01:28:36 -0700
committerDavid S. Miller <davem@davemloft.net>2012-07-11 01:28:36 -0700
commit4e01df28d45464d82894bc7e3b551fc8e59fb76e (patch)
treeb04e0b329bf0908780007da60d860b4483624c96
parent04c9f416e371cff076a8b3279fb213628915d059 (diff)
parent5f8bcce99e83b1155954b1ae7291dc754ad9025e (diff)
downloadlinux-3.10-4e01df28d45464d82894bc7e3b551fc8e59fb76e.tar.gz
linux-3.10-4e01df28d45464d82894bc7e3b551fc8e59fb76e.tar.bz2
linux-3.10-4e01df28d45464d82894bc7e3b551fc8e59fb76e.zip
Merge branch 'davem-next.r8169' of git://violet.fr.zoreil.com/romieu/linux
-rw-r--r--drivers/net/ethernet/realtek/r8169.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c
index 7ff3423edb9..c29c5fb3aec 100644
--- a/drivers/net/ethernet/realtek/r8169.c
+++ b/drivers/net/ethernet/realtek/r8169.c
@@ -6753,14 +6753,14 @@ static void __devinit rtl_hw_init_8168g(struct rtl8169_private *tp)
msleep(1);
RTL_W8(MCU, RTL_R8(MCU) & ~NOW_IS_OOB);
- data = r8168_mac_ocp_read(ioaddr, 0xe8de);
+ data = r8168_mac_ocp_read(tp, 0xe8de);
data &= ~(1 << 14);
r8168_mac_ocp_write(tp, 0xe8de, data);
if (!rtl_udelay_loop_wait_high(tp, &rtl_link_list_ready_cond, 100, 42))
return;
- data = r8168_mac_ocp_read(ioaddr, 0xe8de);
+ data = r8168_mac_ocp_read(tp, 0xe8de);
data |= (1 << 15);
r8168_mac_ocp_write(tp, 0xe8de, data);