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 chip.o \ 14 device.o \ 15 driver.o \ 16 efivar.o \ 17 eprom.o \ 18 exp_rcv.o \ 19 file_ops.o \ 20 firmware.o \ 21 init.o \ 22 intr.o \ 23 iowait.o \ 24 mad.o \ 25 mmu_rb.o \ 26 msix.o \ 27 pcie.o \ 28 pio.o \ 29 pio_copy.o \ 30 platform.o \ 31 qp.o \ 32 qsfp.o \ 33 rc.o \ 34 ruc.o \ 35 sdma.o \ 36 sysfs.o \ 37 tid_rdma.o \ 38 trace.o \ 39 uc.o \ 40 ud.o \ 41 user_exp_rcv.o \ 42 user_pages.o \ 43 user_sdma.o \ 44 verbs.o \ 45 verbs_txreq.o \ 46 vnic_main.o \ 47 vnic_sdma.o 48 49ifdef CONFIG_DEBUG_FS 50hfi1-y += debugfs.o 51ifdef CONFIG_FAULT_INJECTION 52ifdef CONFIG_FAULT_INJECTION_DEBUG_FS 53hfi1-y += fault.o 54endif 55endif 56endif 57 58CFLAGS_trace.o = -I$(src) 59ifdef MVERSION 60CFLAGS_driver.o = -DHFI_DRIVER_VERSION_BASE=\"$(MVERSION)\" 61endif 62