RDMA/hns: Load the RoCE dirver automatically
authoroulijun <oulijun@huawei.com>
Fri, 4 May 2018 02:57:05 +0000 (10:57 +0800)
committerDoug Ledford <dledford@redhat.com>
Wed, 9 May 2018 14:45:18 +0000 (10:45 -0400)
commitf97a62c39423575c62649721657e5cc04f67c0ac
tree9170820eaaa88f8f3bbf9197f641825622bdf24e
parent3a39bbecc88fa9a99a80de588c8f1fe16aba3446
RDMA/hns: Load the RoCE dirver automatically

To enable the linux-kernel system to load the hns-roce-hw-v2 driver
automatically when hns-roce-hw-v2 is plugged in pci bus, it need to
create a MODULE_DEVICE_TABLE for expose the pci_table of
hns-roce-hw-v2 to user.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
Reported-by: Zhou Wang <wangzhou1@hisilicon.com>
Tested-by: Xiaojun Tan <tanxiaojun@huawei.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c