diff options
author | Bryan O'Sullivan <bos@pathscale.com> | 2006-03-29 18:23:39 -0500 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-03-31 16:14:21 -0500 |
commit | 77d8798b554c856e21400bc8e761bc1b2ded8967 (patch) | |
tree | ea5dd7ed3ccb4b7095c37d4633f6f6a7b0a6b38e /drivers | |
parent | 6522108f19a998a5ded4d0c4d0f9eb9736398e31 (diff) |
IB/ipath: kbuild infrastructure
Integrate the ipath core and OpenIB drivers into the kernel build
infrastructure. Add entry to MAINTAINERS.
Signed-off-by: Bryan O'Sullivan <bos@pathscale.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/Makefile | 1 | ||||
-rw-r--r-- | drivers/infiniband/Kconfig | 1 | ||||
-rw-r--r-- | drivers/infiniband/Makefile | 1 | ||||
-rw-r--r-- | drivers/infiniband/hw/ipath/Kconfig | 16 | ||||
-rw-r--r-- | drivers/infiniband/hw/ipath/Makefile | 36 |
5 files changed, 55 insertions, 0 deletions
diff --git a/drivers/Makefile b/drivers/Makefile index 424955274e60..2449ec55ca28 100644 --- a/drivers/Makefile +++ b/drivers/Makefile | |||
@@ -70,6 +70,7 @@ obj-$(CONFIG_EISA) += eisa/ | |||
70 | obj-$(CONFIG_CPU_FREQ) += cpufreq/ | 70 | obj-$(CONFIG_CPU_FREQ) += cpufreq/ |
71 | obj-$(CONFIG_MMC) += mmc/ | 71 | obj-$(CONFIG_MMC) += mmc/ |
72 | obj-$(CONFIG_INFINIBAND) += infiniband/ | 72 | obj-$(CONFIG_INFINIBAND) += infiniband/ |
73 | obj-$(CONFIG_IPATH_CORE) += infiniband/ | ||
73 | obj-$(CONFIG_SGI_SN) += sn/ | 74 | obj-$(CONFIG_SGI_SN) += sn/ |
74 | obj-y += firmware/ | 75 | obj-y += firmware/ |
75 | obj-$(CONFIG_CRYPTO) += crypto/ | 76 | obj-$(CONFIG_CRYPTO) += crypto/ |
diff --git a/drivers/infiniband/Kconfig b/drivers/infiniband/Kconfig index bdf0891a92dd..afc612b8577d 100644 --- a/drivers/infiniband/Kconfig +++ b/drivers/infiniband/Kconfig | |||
@@ -30,6 +30,7 @@ config INFINIBAND_USER_ACCESS | |||
30 | <http://www.openib.org>. | 30 | <http://www.openib.org>. |
31 | 31 | ||
32 | source "drivers/infiniband/hw/mthca/Kconfig" | 32 | source "drivers/infiniband/hw/mthca/Kconfig" |
33 | source "drivers/infiniband/hw/ipath/Kconfig" | ||
33 | 34 | ||
34 | source "drivers/infiniband/ulp/ipoib/Kconfig" | 35 | source "drivers/infiniband/ulp/ipoib/Kconfig" |
35 | 36 | ||
diff --git a/drivers/infiniband/Makefile b/drivers/infiniband/Makefile index a43fb34cca94..eea27322a22d 100644 --- a/drivers/infiniband/Makefile +++ b/drivers/infiniband/Makefile | |||
@@ -1,4 +1,5 @@ | |||
1 | obj-$(CONFIG_INFINIBAND) += core/ | 1 | obj-$(CONFIG_INFINIBAND) += core/ |
2 | obj-$(CONFIG_INFINIBAND_MTHCA) += hw/mthca/ | 2 | obj-$(CONFIG_INFINIBAND_MTHCA) += hw/mthca/ |
3 | obj-$(CONFIG_IPATH_CORE) += hw/ipath/ | ||
3 | obj-$(CONFIG_INFINIBAND_IPOIB) += ulp/ipoib/ | 4 | obj-$(CONFIG_INFINIBAND_IPOIB) += ulp/ipoib/ |
4 | obj-$(CONFIG_INFINIBAND_SRP) += ulp/srp/ | 5 | obj-$(CONFIG_INFINIBAND_SRP) += ulp/srp/ |
diff --git a/drivers/infiniband/hw/ipath/Kconfig b/drivers/infiniband/hw/ipath/Kconfig new file mode 100644 index 000000000000..9ea67c409b6d --- /dev/null +++ b/drivers/infiniband/hw/ipath/Kconfig | |||
@@ -0,0 +1,16 @@ | |||
1 | config IPATH_CORE | ||
2 | tristate "PathScale InfiniPath Driver" | ||
3 | depends on 64BIT && PCI_MSI && NET | ||
4 | ---help--- | ||
5 | This is a low-level driver for PathScale InfiniPath host channel | ||
6 | adapters (HCAs) based on the HT-400 and PE-800 chips. | ||
7 | |||
8 | config INFINIBAND_IPATH | ||
9 | tristate "PathScale InfiniPath Verbs Driver" | ||
10 | depends on IPATH_CORE && INFINIBAND | ||
11 | ---help--- | ||
12 | This is a driver that provides InfiniBand verbs support for | ||
13 | PathScale InfiniPath host channel adapters (HCAs). This | ||
14 | allows these devices to be used with both kernel upper level | ||
15 | protocols such as IP-over-InfiniBand as well as with userspace | ||
16 | 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 000000000000..b4d084abfd22 --- /dev/null +++ b/drivers/infiniband/hw/ipath/Makefile | |||
@@ -0,0 +1,36 @@ | |||
1 | EXTRA_CFLAGS += -DIPATH_IDSTR='"PathScale kernel.org driver"' \ | ||
2 | -DIPATH_KERN_TYPE=0 | ||
3 | |||
4 | obj-$(CONFIG_IPATH_CORE) += ipath_core.o | ||
5 | obj-$(CONFIG_INFINIBAND_IPATH) += ib_ipath.o | ||
6 | |||
7 | ipath_core-y := \ | ||
8 | ipath_diag.o \ | ||
9 | ipath_driver.o \ | ||
10 | ipath_eeprom.o \ | ||
11 | ipath_file_ops.o \ | ||
12 | ipath_fs.o \ | ||
13 | ipath_ht400.o \ | ||
14 | ipath_init_chip.o \ | ||
15 | ipath_intr.o \ | ||
16 | ipath_layer.o \ | ||
17 | ipath_pe800.o \ | ||
18 | ipath_stats.o \ | ||
19 | ipath_sysfs.o \ | ||
20 | ipath_user_pages.o | ||
21 | |||
22 | ipath_core-$(CONFIG_X86_64) += ipath_wc_x86_64.o | ||
23 | |||
24 | ib_ipath-y := \ | ||
25 | ipath_cq.o \ | ||
26 | ipath_keys.o \ | ||
27 | ipath_mad.o \ | ||
28 | ipath_mr.o \ | ||
29 | ipath_qp.o \ | ||
30 | ipath_rc.o \ | ||
31 | ipath_ruc.o \ | ||
32 | ipath_srq.o \ | ||
33 | ipath_uc.o \ | ||
34 | ipath_ud.o \ | ||
35 | ipath_verbs.o \ | ||
36 | ipath_verbs_mcast.o | ||