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)
commit31a1cdad82a50cb32e707c4d30054ed03d6c1f30
tree35f870b36c51f407dc141823212c7376ae45793a
parent69ece6cfdcf643830894e34b1072363fc95f762b
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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29844 3c298f89-4303-0410-b956-a3cf2f4a3e73
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