forked from Minki/linux
c1203fe7bb
The hilink status reg in HNS V2 is different from HNS v1. In HNS V2, It distinguishes differnt lane status according to the bit-field of the reg. As is shown below: [0:0] ---> lane0 [1:1] ---> lane1 ... But the current driver reads the reg to get the hilink status ONLY concidering HNS V1 situation. Here is a patch to support both of them. Signed-off-by: Sheng Li <lisheng011@huawei.com> Signed-off-by: Daode Huang <huangdaode@hisilicon.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
hnae.c | ||
hnae.h | ||
hns_ae_adapt.c | ||
hns_dsaf_gmac.c | ||
hns_dsaf_gmac.h | ||
hns_dsaf_mac.c | ||
hns_dsaf_mac.h | ||
hns_dsaf_main.c | ||
hns_dsaf_main.h | ||
hns_dsaf_misc.c | ||
hns_dsaf_misc.h | ||
hns_dsaf_ppe.c | ||
hns_dsaf_ppe.h | ||
hns_dsaf_rcb.c | ||
hns_dsaf_rcb.h | ||
hns_dsaf_reg.h | ||
hns_dsaf_xgmac.c | ||
hns_dsaf_xgmac.h | ||
hns_enet.c | ||
hns_enet.h | ||
hns_ethtool.c | ||
Makefile |