net: hns: bug fix of ge reset sequence
authorQianqian Xie <xieqianqian@huawei.com>
Tue, 21 Jun 2016 03:56:21 +0000 (11:56 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jun 2016 08:51:54 +0000 (04:51 -0400)
commit0b03fd8528f7bf00b5c058212d69f92cf123bf30
tree2f03e7c83cc604cd6d4154883faab325fb3fc9f9
parent4906ce45978ca958da687d6706a9ee85162ef69d
net: hns: bug fix of ge reset sequence

The bit fileds of PPE reset register are different between HNS v1 and
HNS v2, but the current procedure just only match HNS v1. Here is a
patch to fix it.

Signed-off-by: Kejian Yan <yankejian@huawei.com>
Signed-off-by: Qianqian Xie <xieqianqian@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