]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1ba7674139bc2be847e51e60b23330f578a7b02f
tree6938d75fe49b89a43cd9b7fd4e7147ec6b83cba8
parent21f42c113ce2faa7ec6c2b7a5c3b994da57217ea
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