r8169: 8168DP specific MII registers access methods.
authorfrançois romieu <romieu@fr.zoreil.com>
Mon, 3 Jan 2011 15:08:04 +0000 (15:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Jan 2011 17:48:33 +0000 (09:48 -0800)
commitc0e45c1ca3162acb2e77b3d9e152ce6e7b6fa3f5
treebe0c00584b165811d983920dcde77dce069e2ba9
parent4da19633429f67c794b013488348550f457298c4
r8169: 8168DP specific MII registers access methods.

Adapted from version 8.019.00 of Realtek's r8168 driver and
amended per Hayes Wang's correction :
- OCPDR_GPHY_REG_SHIFT must be 16, not 12
- the reg should be at bit 16 ~ 22, whence OCPDR_REG_MASK

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Cc: Hayes <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/r8169.c