r8169:for function "rtl_w1w0_phy" change its name and behavior
authorChun-Hao Lin <hau@realtek.com>
Wed, 1 Oct 2014 15:17:17 +0000 (23:17 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Oct 2014 19:33:17 +0000 (15:33 -0400)
commit7656442824f6174b56a19c664fe560972df56ad4
tree6938d75fe49b89a43cd9b7fd4e7147ec6b83cba8
parentac85bcdbc0ffd3903d6db4abcd769ecacf98605b
r8169:for function "rtl_w1w0_phy" change its name and behavior

Change function name from "rtl_w1w0_phy" to "rtl_w0w1_phy".
And its behavior from "write ones then write zeros" to
"write zeros then write ones".

In Realtek internal driver, bitwise operations are almost "write zeros then
write ones". For easy to port hardware parameters from Realtek internal driver
to Linux kernal driver "r8169", we would like to change this function's
behavior and its name.

Signed-off-by: Chun-Hao Lin <hau@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169.c