commit | 295ba232a8c3c5547f9fb470a62f3585025ccd00 | [log] [tgz] |
---|---|---|
author | Guangbin Huang <huangguangbin2@huawei.com> | Sun Sep 27 15:12:39 2020 +0800 |
committer | David S. Miller <davem@davemloft.net> | Sun Sep 27 13:25:22 2020 -0700 |
tree | 59146b842450f9c583d681abd50f229aea6777e7 | |
parent | 090bc03bc9387b135307dae69a3242173d86de8d [diff] |
net: hns3: add device version to replace pci revision To better identify the device version, struct hnae3_handle adds a member dev_version to replace pci revision. The dev_version consists of hardware version and PCI revision. The hardware version is queried from firmware by an existing firmware version query command. Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>