diff options
author | Yonglong Liu | 2018-12-15 04:53:22 +0100 |
---|---|---|
committer | David S. Miller | 2018-12-16 21:07:31 +0100 |
commit | 4ad26f117b6ea0f5d5f1592127bafb5ec65904d3 (patch) | |
tree | c950474ced4ee6cf5adcf0042c62245da648b603 /fs/compat_ioctl.c | |
parent | net: hns: All ports can not work when insmod hns ko after rmmod. (diff) | |
download | kernel-qcow2-linux-4ad26f117b6ea0f5d5f1592127bafb5ec65904d3.tar.gz kernel-qcow2-linux-4ad26f117b6ea0f5d5f1592127bafb5ec65904d3.tar.xz kernel-qcow2-linux-4ad26f117b6ea0f5d5f1592127bafb5ec65904d3.zip |
net: hns: Some registers use wrong address according to the datasheet.
According to the hip06 datasheet:
1.Six registers use wrong address:
RCB_COM_SF_CFG_INTMASK_RING
RCB_COM_SF_CFG_RING_STS
RCB_COM_SF_CFG_RING
RCB_COM_SF_CFG_INTMASK_BD
RCB_COM_SF_CFG_BD_RINT_STS
DSAF_INODE_VC1_IN_PKT_NUM_0_REG
2.The offset of DSAF_INODE_VC1_IN_PKT_NUM_0_REG should be
0x103C + 0x80 * all_chn_num
3.The offset to show the value of DSAF_INODE_IN_DATA_STP_DISC_0_REG
is wrong, so the value of DSAF_INODE_SW_VLAN_TAG_DISC_0_REG will be
overwrite
These registers are only used in "ethtool -d", so that did not cause ndev
to misfunction.
Signed-off-by: Yonglong Liu <liuyonglong@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/compat_ioctl.c')
0 files changed, 0 insertions, 0 deletions