[PATCH 13/13] [RFC] ipath Kconfig and Makefile

Roland Dreier
2005-12-16T23:53:11Z

Kconfig and Makefile for ipath driver. (Leaving out changes to base
drivers/infiniband/{Kconfig,Makefile} to hook these new files into
kernel build)

---

drivers/infiniband/hw/ipath/Kconfig | 18 ++++++++++++++++++
drivers/infiniband/hw/ipath/Makefile | 15 +++++++++++++++
2 files changed, 33 insertions(+), 0 deletions(-)
create mode 100644 drivers/infiniband/hw/ipath/Kconfig
create mode 100644 drivers/infiniband/hw/ipath/Makefile

8748441795d589631fc58cbf477f485ff6716348
diff --git a/drivers/infiniband/hw/ipath/Kconfig b/drivers/infiniband/hw/ipath/Kconfig
new file mode 100644
index 0000000..092faa6
--- /dev/null
+++ b/drivers/infiniband/hw/ipath/Kconfig
@@ -0,0 +1,18 @@
+config IPATH_CORE
+ tristate "PathScale InfiniPath Driver"
+ depends on PCI_MSI && X86_64
+ ---help---
+ This is a low-level driver for PathScale InfiniPath host
+ channel adapters (HCAs) based on the HT-400 chip, including the
+ InfiniPath HT-460, the small form factor InfiniPath HT-460,
+ the InfiniPath HT-470 and the Linux Networx LS/X.
+
+config INFINIBAND_IPATH
+ tristate "PathScale InfiniPath Verbs Driver"
+ depends on IPATH_CORE && INFINIBAND
+ ---help---
+ This is a driver that provides InfiniBand verbs support for
+ PathScale InfiniPath host channel adapters (HCAs). This
+ allows these devices to be used with both kernel upper level
+ protocols such as IP-over-InfiniBand as well as with userspace
+ applications (in conjunction with InfiniBand userspace access).
diff --git a/drivers/infiniband/hw/ipath/Makefile b/drivers/infiniband/hw/ipath/Makefile
new file mode 100644
index 0000000..dbe2557
--- /dev/null
+++ b/drivers/infiniband/hw/ipath/Makefile
@@ -0,0 +1,15 @@
+EXTRA_CFLAGS += -Idrivers/infiniband/include
+
+EXTRA_CFLAGS += -Wall -O3 -g3
+
+_ipath_idstr:="$$""Id: kernel.org InfiniPath Release 1.1 $$"" $$""Date: $(shell date +%F-%R)"" $$"
+EXTRA_CFLAGS += -D_IPATH_IDSTR='$(_ipath_idstr)' -DIPATH_KERN_TYPE=0
+
+obj-$(CONFIG_IPATH_CORE) += ipath_core.o
+obj-$(CONFIG_INFINIBAND_IPATH) += ib_ipath.o
+
+ipath_core-objs := ipath_copy.o ipath_driver.o \
+ ipath_dwordcpy.o ipath_ht400.o ipath_i2c.o ipath_layer.o \
+ ipath_lib.o ipath_mlock.o
+
+ib_ipath-objs := ipath_mad.o ipath_verbs.o
--
0.99.9n