[openib-general] [PATCH 1/9] NetEffect 10Gb RNIC Driver: kernel Kconfig and makefiles

Glenn Grundstrom ggrundstrom at NetEffect.com
Thu Oct 26 16:45:39 PDT 2006


The following set of patches contain the source code for the NetEffect
NE010 iWarp adapter running under the OpenFabrics Alliance software
stack.  This is a repost.

Signed-off-by: Glenn Grundstrom <glenng at neteffect.com>

======================================================

diff -ruNp old/drivers/infiniband/Kconfig new/drivers/infiniband/Kconfig
--- old/drivers/infiniband/Kconfig	2006-10-25 09:57:43.000000000
-0500
+++ new/drivers/infiniband/Kconfig	2006-10-25 10:48:40.000000000
-0500
@@ -41,6 +41,8 @@ source "drivers/infiniband/hw/ehca/Kconf
 
 source "drivers/infiniband/hw/amso1100/Kconfig"
 
+source "drivers/infiniband/hw/nes/Kconfig"
+
 source "drivers/infiniband/hw/cxgb3/Kconfig"
 
 source "drivers/infiniband/ulp/ipoib/Kconfig"
diff -ruNp old/drivers/infiniband/hw/nes/Kconfig
new/drivers/infiniband/hw/nes/Kconfig
--- old/drivers/infiniband/hw/nes/Kconfig	1969-12-31
18:00:00.000000000 -0600
+++ new/drivers/infiniband/hw/nes/Kconfig	2006-10-25
10:50:18.000000000 -0500
@@ -0,0 +1,15 @@
+config INFINIBAND_NES
+	tristate "NetEffect RNIC support"
+	depends on PCI && INET && INFINIBAND
+	---help---
+	  This is a low-level driver for NetEffect RDMA enabled
+	  Network Interface Cards (RNIC).
+
+config INFINIBAND_NES_DEBUG
+	bool "Verbose debugging output"
+	depends on INFINIBAND_NES
+	default n
+	---help---
+	  This option causes the NetEffect RNIC driver to produce debug
+	  messages.  Select this if you are developing the driver
+	  or trying to diagnose a problem.
diff -ruNp old/drivers/infiniband/hw/nes/Makefile
new/drivers/infiniband/hw/nes/Makefile
--- old/drivers/infiniband/hw/nes/Makefile	1969-12-31
18:00:00.000000000 -0600
+++ new/drivers/infiniband/hw/nes/Makefile	2006-10-25
11:10:26.000000000 -0500
@@ -0,0 +1,27 @@
+EXTRA_CFLAGS += -Idrivers/infiniband/include
-Idrivers/infiniband/hw/nes/nes_tcpip/include
+
+ifdef CONFIG_INFINIBAND_NES_DEBUG
+EXTRA_CFLAGS += -DNES_DEBUG
+endif
+
+ifneq ($(KERNELRELEASE),)
+	obj-$(CONFIG_INFINIBAND_NES) += iw_nes.o	
+
+	iw_nes-objs := \
+		nes.o \
+		nes_hw.o \
+		nes_nic.o \
+		nes_cm.o \
+		nes_utils.o \
+		nes_verbs.o 
+else
+	KERNELDIR ?= /usr/src/linux
+	PWD := $(shell pwd)
+
+default:
+	$(MAKE) -C $(KERNELDIR) M=$(PWD) modules
+
+clean:
+	$(MAKE) -C $(KERNELDIR) M=$(PWD) clean
+
+endif





More information about the general mailing list