From: Hayes Wang Date: Mon, 2 Jul 2012 09:23:22 +0000 (+0800) Subject: r8169: support RTL8168G X-Git-Tag: v3.6-rc1~125^2~254^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c558386b836ee97762e12495101c6e373f20e69d;p=pandora-kernel.git r8169: support RTL8168G For RTL8111G, the settings of phy and firmware are replaced with ocp functions. r8168g_mdio_{write / read} redirects the relative settings to suitable ocp functions. A per-device variable is needed to evaluate the real address of ocp functions. rtl_writephy(tp, 0x1f, xxxx) is dedicated to keeping said variable up-to-date. Signed-off-by: Hayes Wang Acked-by: Francois Romieu --- Reading git-diff-tree failed