generic: rtl8366: add rtl8366_smi_write_reg_noack helper
authorGabor Juhos <juhosg@openwrt.org>
Sat, 21 Jan 2012 22:44:09 +0000 (22:44 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sat, 21 Jan 2012 22:44:09 +0000 (22:44 +0000)
commit4625c9b5a4122f21b2415a32f930d58dbd74686b
treee74f52798c4e8f02fc23199ca118005d3e7c0f24
parent26d4e1876c9c48fd364824da7c99288cb7782fc0
generic: rtl8366: add rtl8366_smi_write_reg_noack helper

After issuing a soft reset on the RT8366{S,RB}
switch, waiting for the last acknowlegement fails
in rtl8366_smi_write_reg. Add a _noack version of
the function and use that for issuing a soft reset.

SVN-Revision: 29844
target/linux/generic/files/drivers/net/phy/rtl8366_smi.c
target/linux/generic/files/drivers/net/phy/rtl8366_smi.h
target/linux/generic/files/drivers/net/phy/rtl8366rb.c
target/linux/generic/files/drivers/net/phy/rtl8366s.c