linux/drivers/net/ethernet/hisilicon
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
..
hns net: hns: bug fix about getting hilink status for HNS v2 2016-03-24 14:33:07 -04:00
hip04_eth.c hip04_eth: fix missing error handle for build_skb failed 2016-01-13 15:48:14 -05:00
hix5hd2_gmac.c net: hix5hd2_gmac: avoid integer overload warning 2015-10-18 20:01:08 -07:00
hns_mdio.c net: hns: fixes no syscon error when init mdio 2016-01-15 14:40:03 -05:00
Kconfig net: ethernet: Add missing MFD_SYSCON dependency on HAS_IOMEM 2016-03-07 14:45:07 -05:00
Makefile net: add Hisilicon Network Subsystem hnae framework support 2015-09-20 21:42:57 -07:00