1# SPDX-License-Identifier: GPL-2.0 2# 3# HFI driver 4# 5# 6# 7# Called from the kernel module build system. 8# 9obj-$(CONFIG_INFINIBAND_HFI1) += hfi1.o 10 11hfi1-y := \ 12 affinity.o \ 13 aspm.o \ 14 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 \ 24 iowait.o \ 25 ipoib_main.o \ 26 ipoib_tx.o \ 27 mad.o \ 28 mmu_rb.o \ 29 msix.o \ 30 opfn.o \ 31 pcie.o \ 32 pio.o \ 33 pio_copy.o \ 34 platform.o \ 35 qp.o \ 36 qsfp.o \ 37 rc.o \ 38 ruc.o \ 39 sdma.o \ 40 sysfs.o \ 41 tid_rdma.o \ 42 trace.o \ 43 uc.o \ 44 ud.o \ 45 user_exp_rcv.o \ 46 user_pages.o \ 47 user_sdma.o \ 48 verbs.o \ 49 verbs_txreq.o \ 50 vnic_main.o \ 51 vnic_sdma.o 52 53ifdef CONFIG_DEBUG_FS 54hfi1-y += debugfs.o 55ifdef CONFIG_FAULT_INJECTION 56ifdef CONFIG_FAULT_INJECTION_DEBUG_FS 57hfi1-y += fault.o 58endif 59endif 60endif 61 62CFLAGS_trace.o = -I$(src) 63ifdef MVERSION 64CFLAGS_driver.o = -DHFI_DRIVER_VERSION_BASE=\"$(MVERSION)\" 65endif 66