[openfabrics-ewg] [PATCH] ehca: ehca_main.c for OFED-1.1-rc5

Hoang-Nam Nguyen hnguyen at de.ibm.com
Mon Sep 18 09:19:28 PDT 2006


Hi Michael,
> Another point - I see macros such as RDMA_NODE_IB_CA in ehca in ofed_1_1.
below is the small patch against ehca_branch in your git tree.
Thanks!
Nam Nguyen


Signed-off-by Hoang-Nam Nguyen <hnguyen at de.ibm.com>
---


 ehca_main.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


diff --git a/drivers/infiniband/hw/ehca/ehca_main.c b/drivers/infiniband/hw/ehca/ehca_main.c
index 7bb76d6..a73eb71 100644
--- a/drivers/infiniband/hw/ehca/ehca_main.c
+++ b/drivers/infiniband/hw/ehca/ehca_main.c
@@ -268,7 +268,7 @@ int ehca_register_device(struct ehca_shc
                (1ull << IB_USER_VERBS_CMD_ATTACH_MCAST)        |
                (1ull << IB_USER_VERBS_CMD_DETACH_MCAST);
 
-       shca->ib_device.node_type           = RDMA_NODE_IB_CA;
+       shca->ib_device.node_type           = IB_NODE_CA;
        shca->ib_device.phys_port_cnt       = shca->num_ports;
        shca->ib_device.dma_device          = &shca->ibmebus_dev->ofdev.dev;
        shca->ib_device.query_device        = ehca_query_device;





More information about the ewg mailing list