linux/drivers/net/ethernet/hisilicon/hns
Sheng Li c1203fe7bb net: hns: bug fix about getting hilink status for HNS v2
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>
2016-03-24 14:33:07 -04:00
..
hnae.c net: hns: enet specifies a reference to dsaf 2016-01-21 12:02:31 -08:00
hnae.h net: hns: fixed portid bug in sending manage pkt 2016-03-22 15:45:57 -04:00
hns_ae_adapt.c net: hns: fixes a bug of RSS 2016-03-22 15:45:58 -04:00
hns_dsaf_gmac.c net: hns: optimizate fmt of snprintf() 2016-03-24 14:33:06 -04:00
hns_dsaf_gmac.h
hns_dsaf_mac.c net: hns: adds limitation for debug port mtu 2016-03-22 15:45:58 -04:00
hns_dsaf_mac.h net: hns: adds limitation for debug port mtu 2016-03-22 15:45:58 -04:00
hns_dsaf_main.c net: hns: fix a bug for cycle index 2016-03-24 14:33:06 -04:00
hns_dsaf_main.h net: hns: fix the bug about loopback 2016-03-07 15:44:51 -05:00
hns_dsaf_misc.c net: hns: bug fix about getting hilink status for HNS v2 2016-03-24 14:33:07 -04:00
hns_dsaf_misc.h
hns_dsaf_ppe.c net: hns: fix the bug about mtu setting 2016-03-22 15:45:58 -04:00
hns_dsaf_ppe.h net: hns: fix the bug about mtu setting 2016-03-22 15:45:58 -04:00
hns_dsaf_rcb.c net: hns: bug fix about hisilicon TSO BD mode 2016-01-18 11:52:37 -05:00
hns_dsaf_rcb.h net: hns: bug fix about hisilicon TSO BD mode 2016-01-18 11:52:37 -05:00
hns_dsaf_reg.h net: hns: bug fix about getting hilink status for HNS v2 2016-03-24 14:33:07 -04:00
hns_dsaf_xgmac.c net: hisilicon: fixes a bug when using ethtool -S 2015-10-15 06:01:41 -07:00
hns_dsaf_xgmac.h
hns_enet.c net: hns: fix warning of passing zero to 'PTR_ERR' 2016-03-24 14:33:07 -04:00
hns_enet.h net: hns: enet specifies a reference to dsaf 2016-01-21 12:02:31 -08:00
hns_ethtool.c net: hns: bug fix for return values 2016-03-24 14:33:06 -04:00
Makefile net: add Hisilicon Network Subsystem basic ethernet support 2015-09-20 21:42:58 -07:00