[openib-general] [PATCH] IB/ipath: Make more names static

Roland Dreier rdreier at cisco.com
Tue Apr 4 15:54:02 PDT 2006


And here are a couple of minor fixes to make the ipath driver build out of svn...

Signed-off-by: Roland Dreier <rolandd at cisco.com>

--- infiniband/hw/ipath/Makefile	(revision 6230)
+++ infiniband/hw/ipath/Makefile	(working copy)
@@ -1,5 +1,6 @@
 EXTRA_CFLAGS += -DIPATH_IDSTR='"PathScale kernel.org driver"' \
-	-DIPATH_KERN_TYPE=0
+	-DIPATH_KERN_TYPE=0 \
+	-Idrivers/infiniband/include
 
 obj-$(CONFIG_IPATH_CORE) += ipath_core.o
 obj-$(CONFIG_INFINIBAND_IPATH) += ib_ipath.o
--- infiniband/hw/ipath/ipath_verbs.c	(revision 6230)
+++ infiniband/hw/ipath/ipath_verbs.c	(working copy)
@@ -1002,7 +1002,7 @@ static void *ipath_register_ib_device(in
 		(1ull << IB_USER_VERBS_CMD_QUERY_SRQ)		|
 		(1ull << IB_USER_VERBS_CMD_DESTROY_SRQ)		|
 		(1ull << IB_USER_VERBS_CMD_POST_SRQ_RECV);
-	dev->node_type = IB_NODE_CA;
+	dev->node_type = RDMA_NODE_IB_CA;
 	dev->phys_port_cnt = 1;
 	dev->dma_device = ipath_layer_get_device(dd);
 	dev->class_dev.dev = dev->dma_device;



More information about the general mailing list