diff options
author | Lisheng <lisheng011@huawei.com> | 2016-03-28 18:40:56 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-28 11:39:16 -0400 |
commit | 43adc067c5a070a5ef97d0c25e33df19c4481484 (patch) | |
tree | 3a0dcf290af9e6ac14335de368cf6bf68241a679 /drivers/net/ethernet/hisilicon/hns/hns_dsaf_reg.h | |
parent | ac71b46efd2838c02ec193987c8f61c3ba33b495 (diff) | |
download | op-kernel-dev-43adc067c5a070a5ef97d0c25e33df19c4481484.zip op-kernel-dev-43adc067c5a070a5ef97d0c25e33df19c4481484.tar.gz |
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>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns/hns_dsaf_reg.h')
-rw-r--r-- | drivers/net/ethernet/hisilicon/hns/hns_dsaf_reg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/hisilicon/hns/hns_dsaf_reg.h b/drivers/net/ethernet/hisilicon/hns/hns_dsaf_reg.h index e2206f9..7d7204f 100644 --- a/drivers/net/ethernet/hisilicon/hns/hns_dsaf_reg.h +++ b/drivers/net/ethernet/hisilicon/hns/hns_dsaf_reg.h @@ -406,6 +406,7 @@ #define RCB_CFG_OVERTIME_REG 0x9300 #define RCB_CFG_PKTLINE_INT_NUM_REG 0x9304 #define RCB_CFG_OVERTIME_INT_NUM_REG 0x9308 +#define RCB_PORT_CFG_OVERTIME_REG 0x9430 #define RCB_RING_RX_RING_BASEADDR_L_REG 0x00000 #define RCB_RING_RX_RING_BASEADDR_H_REG 0x00004 |