Message ID | 1588674607-25337-2-git-send-email-liweihang@huawei.com (mailing list archive) |
---|---|
State | Changes Requested |
Delegated to: | Jason Gunthorpe |
Headers | show |
Series | RDMA/hns: Preparing for next generation of hip08 | expand |
diff --git a/drivers/infiniband/hw/hns/hns_roce_device.h b/drivers/infiniband/hw/hns/hns_roce_device.h index ecbfeb6..c38ebce 100644 --- a/drivers/infiniband/hw/hns/hns_roce_device.h +++ b/drivers/infiniband/hw/hns/hns_roce_device.h @@ -37,9 +37,10 @@ #define DRV_NAME "hns_roce" -/* hip08 is a pci device, it includes two version according pci version id */ +/* hip08 is a pci device of three versions according to the revision id */ #define PCI_REVISION_ID_HIP08_A 0x20 #define PCI_REVISION_ID_HIP08_B 0x21 +#define PCI_REVISION_ID_HIP08_C 0x30 #define HNS_ROCE_HW_VER1 ('h' << 24 | 'i' << 16 | '0' << 8 | '6')
0x30 is the new revision id for next generation of the pci device hip08, add a macro of it for further features. Signed-off-by: Weihang Li <liweihang@huawei.com> --- drivers/infiniband/hw/hns/hns_roce_device.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)