generic: ar8216: simplify and rename ar8327_config_port
authorGabor Juhos <juhosg@openwrt.org>
Fri, 15 Mar 2013 15:49:57 +0000 (15:49 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Fri, 15 Mar 2013 15:49:57 +0000 (15:49 +0000)
commit106519bdbbffa4483e0751d2c60661364620a26e
tree60b1ae719ad9686b0146658bf2d2bf1cd702cea7
parent0d8238f7b39019c7073ddd8341cbcd259938860c
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