net: hns: fixed the setting and getting overtime bug
authorLisheng <lisheng011@huawei.com>
Mon, 28 Mar 2016 10:40:56 +0000 (18:40 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Mar 2016 15:39:16 +0000 (11:39 -0400)
commit43adc067c5a070a5ef97d0c25e33df19c4481484
tree3a0dcf290af9e6ac14335de368cf6bf68241a679
parentac71b46efd2838c02ec193987c8f61c3ba33b495
net: hns: fixed the setting and getting overtime bug

The overtime setting and getting REGs in HNS V2 is defferent from HNS V1.
It needs to be distinguished between them if getting or setting the REGs.

Signed-off-by: Lisheng <lisheng011@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_ae_adapt.c
drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c
drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.h
drivers/net/ethernet/hisilicon/hns/hns_dsaf_reg.h