[openib-general] [PATCH 01/18] [RFC] Provider Makefiles

Steve Wise swise at opengridcomputing.com
Mon Mar 6 10:03:14 PST 2006


--- old/src/linux-kernel/infiniband/hw/cxgb3/Kconfig	1969-12-31 18:00:00.000000000 -0600
+++ new/src/linux-kernel/infiniband/hw/cxgb3/Kconfig	2006-03-06 09:26:21.000000000 -0600
@@ -0,0 +1,14 @@
+config INFINIBAND_IWCH
+	tristate "Chelsio OpenIB module"
+	depends on CHELSIO_T3 && INFINIBAND
+	---help---
+	   This is the Chelsio OpenIB provider module.
+
+config INFINIBAND_IWCH_DEBUG
+	bool "Verbose debugging output"
+	depends on INFINIBAND_IWCH
+	default n
+	---help---
+	  This option causes the Chelsio OpenIB provider module to produce 
+          a bunch of debug messages.  Select this if you are developing the 
+          driver or trying to diagnose a problem.
--- old/src/linux-kernel/infiniband/hw/cxgb3/Makefile	1969-12-31 18:00:00.000000000 -0600
+++ new/src/linux-kernel/infiniband/hw/cxgb3/Makefile	2006-03-06 09:26:21.000000000 -0600
@@ -0,0 +1,34 @@
+EXTRA_CFLAGS += \
+	-DCONFIG_CHELSIO_T3_OFFLOAD \
+	-I$(TOPDIR)/drivers/infiniband/include \
+	-I$(TOPDIR)/drivers/net/cxgb3 \
+	-I$(TOPDIR)/drivers/infiniband/hw/cxgb3/t3c \
+	-I$(TOPDIR)/drivers/infiniband/hw/cxgb3/core 
+
+obj-$(CONFIG_INFINIBAND_IWCH) += iw_cxgb3.o cxgb3rc.o cxgb3c.o 
+
+iw_cxgb3-y := \
+	iwch_cm.o \
+	iwch_ev.o \
+	iwch_cq.o \
+	iwch_qp.o \
+	iwch_mem.o \
+	iwch_provider.o \
+	iwch.o
+
+ifdef CONFIG_INFINIBAND_IWCH_DEBUG
+EXTRA_CFLAGS += -DIWCH_DEBUG -O1 -g -DCXIO_DEBUG
+endif
+
+cxgb3rc-y := \
+	core/cxio_hal.o \
+	core/cxio_resource.o
+
+ifdef CONFIG_INFINIBAND_IWCH_DEBUG
+cxgb3rc-y += core/cxio_dbg.o
+endif
+
+cxgb3c-y := \
+	t3c/t3c.o \
+	t3c/l2t.o \
+	t3c/t3cdev.o




More information about the general mailing list