Add Kconfig and Makefile for xscore module

Signed-off-by: Hal Rosenstock <[EMAIL PROTECTED]>
---
 drivers/infiniband/ulp/xsigo/xscore/Kconfig  |   17 +++++++++++++++++
 drivers/infiniband/ulp/xsigo/xscore/Makefile |    6 ++++++
 2 files changed, 23 insertions(+), 0 deletions(-)
 create mode 100644 drivers/infiniband/ulp/xsigo/xscore/Kconfig
 create mode 100644 drivers/infiniband/ulp/xsigo/xscore/Makefile

diff --git a/drivers/infiniband/ulp/xsigo/xscore/Kconfig 
b/drivers/infiniband/ulp/xsigo/xscore/Kconfig
new file mode 100644
index 0000000..625cdf8
--- /dev/null
+++ b/drivers/infiniband/ulp/xsigo/xscore/Kconfig
@@ -0,0 +1,17 @@
+config INFINIBAND_XSCORE
+       tristate "Xsigo InfiniBand core support"
+       depends on INFINIBAND_MTHCA && EXPERIMENTAL
+       ---help---
+         Support for the Xsigo InfiniBand core. This
+         is required by the Xsigo virtual drivers.
+
+config XSCORE_DEBUG
+       bool "Xsigo InfiniBand core debugging" if EMBEDDED
+       depends on INFINIBAND_XSCORE
+       default y
+       ---help---
+         This option causes debugging code to be compiled into the
+         Xsigo xscore driver.  The output can be turned on via the
+         xcpm_debug_level and xsigoib_debug_level module parameters
+         (which can also be set via sysfs after this module is loaded).
+
diff --git a/drivers/infiniband/ulp/xsigo/xscore/Makefile 
b/drivers/infiniband/ulp/xsigo/xscore/Makefile
new file mode 100644
index 0000000..059eee0
--- /dev/null
+++ b/drivers/infiniband/ulp/xsigo/xscore/Makefile
@@ -0,0 +1,6 @@
+EXTRA_CFLAGS += $(XSIGOFLAGS) -Idrivers/infiniband/include
+
+obj-$(CONFIG_INFINIBAND_XSCORE)                += xscore.o
+
+xscore-objs                            += xsigoib.o xsigoib_stats.o xcpm.o \
+                                          xcpm_stats.o ib_if.o xsmp.o xs_core.o
-- 
1.5.2



_______________________________________________
ewg mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg

Reply via email to