generic: ar8216: simplify and rename ar8327_config_port
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 15 Mar 2013 15:49:57 +0000 (15:49 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 15 Mar 2013 15:49:57 +0000 (15:49 +0000)
commit1f6aeadc29ac036492b1b3246f5dc8c8aab1d917
tree60b1ae719ad9686b0146658bf2d2bf1cd702cea7
parent884b112524ad5a6879f592badc0733acd658338b
generic: ar8216: simplify and rename ar8327_config_port

Return with the PORT_STATUS register value instead of
writing that directly into the corresponding register.
Also rename the function to ar8327_get_port_init_status.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36043 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/generic/files/drivers/net/phy/ar8216.c