]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
net: hns: select Hilink before serdes loopback for HNS V2
authorKejian Yan <yankejian@huawei.com>
Tue, 21 Jun 2016 03:56:27 +0000 (11:56 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jun 2016 08:51:54 +0000 (04:51 -0400)
commit89a6b1aae844a89f6724b22c63803bb6fbe5677b
treef075ceebe3c4ec294496d0facdf2079224986280
parent39c944179483a1f81e9b6c382edc667bbd24c4a6
net: hns: select Hilink before serdes loopback for HNS V2

As Hilink3 and Hilink4 use the same xge training and xge u adaptor for
HNSv2, it needs to select which Hilink to be set before relative serdes
being configed. The hilink_access_sel is the register to do that.

Signed-off-by: Kejian Yan <yankejian@huawei.com>
Signed-off-by: Yisen Zhuang <Yisen.Zhuang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c