net: hns: Fix a wrong op phy C45 code
authorYunsheng Lin <linyunsheng@huawei.com>
Thu, 6 Jul 2017 02:21:59 +0000 (10:21 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 8 Jul 2017 10:05:21 +0000 (11:05 +0100)
commitebe8d359c90d6e237527f4d0544b62bdcc0ff286
treee59c14cd9f6d505a8fc905a7f349a7c07ea8232f
parent233a15875396fd88203644fd9fba8d179aa40119
net: hns: Fix a wrong op phy C45 code

As the user manual described, the second step to write to C45 phy
by mdio should be data, but not address. Here we should fix this
issue.

Fixes: 5b904d39406a ("net: add Hisilicon Network Subsystem MDIO support")
Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Reviewed-by: lipeng <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns_mdio.c