blob: 2e89ec10efeda8d5009c1a2d81bbb341a8ec2e0d [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Mike Marciniszyn77241052015-07-30 15:17:43 -04002#
3# HFI driver
4#
5#
6#
7# Called from the kernel module build system.
8#
9obj-$(CONFIG_INFINIBAND_HFI1) += hfi1.o
10
Dennis Dalessandroc54a73d2018-08-15 22:58:31 -070011hfi1-y := \
12 affinity.o \
Michael J. Ruhlbf3b1e02019-06-28 14:22:17 -040013 aspm.o \
Dennis Dalessandroc54a73d2018-08-15 22:58:31 -070014 chip.o \
15 device.o \
16 driver.o \
17 efivar.o \
18 eprom.o \
19 exp_rcv.o \
20 file_ops.o \
21 firmware.o \
22 init.o \
23 intr.o \
Dennis Dalessandro5da0fc92018-09-28 07:17:09 -070024 iowait.o \
Gary Leshner438d7dd2020-05-11 12:05:54 -040025 ipoib_main.o \
Kaike Wan6991abc2020-05-11 12:06:31 -040026 ipoib_rx.o \
Gary Leshnerd99dc602020-05-11 12:05:48 -040027 ipoib_tx.o \
Dennis Dalessandroc54a73d2018-08-15 22:58:31 -070028 mad.o \
29 mmu_rb.o \
Michael J. Ruhl09e71892018-08-16 06:28:40 -070030 msix.o \
Kaike Wan6991abc2020-05-11 12:06:31 -040031 netdev_rx.o \
Kaike Wanf01b4d52019-01-23 19:20:52 -080032 opfn.o \
Dennis Dalessandroc54a73d2018-08-15 22:58:31 -070033 pcie.o \
34 pio.o \
35 pio_copy.o \
36 platform.o \
37 qp.o \
38 qsfp.o \
39 rc.o \
40 ruc.o \
41 sdma.o \
42 sysfs.o \
Mike Marciniszyn5190f052018-11-28 10:22:31 -080043 tid_rdma.o \
Dennis Dalessandroc54a73d2018-08-15 22:58:31 -070044 trace.o \
45 uc.o \
46 ud.o \
47 user_exp_rcv.o \
48 user_pages.o \
49 user_sdma.o \
50 verbs.o \
51 verbs_txreq.o \
52 vnic_main.o \
53 vnic_sdma.o
Mitko Haralanova74d5302018-05-02 06:43:24 -070054
55ifdef CONFIG_DEBUG_FS
56hfi1-y += debugfs.o
57ifdef CONFIG_FAULT_INJECTION
58ifdef CONFIG_FAULT_INJECTION_DEBUG_FS
59hfi1-y += fault.o
60endif
61endif
62endif
Mike Marciniszyn77241052015-07-30 15:17:43 -040063
64CFLAGS_trace.o = -I$(src)
65ifdef MVERSION
66CFLAGS_driver.o = -DHFI_DRIVER_VERSION_BASE=\"$(MVERSION)\"
67endif