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_rx.o \ 27 ipoib_tx.o \ 28 mad.o \ 29 mmu_rb.o \ 30 msix.o \ 31 netdev_rx.o \ 32 opfn.o \ 33 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 \ 43 tid_rdma.o \ 44 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 54 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 63 64CFLAGS_trace.o = -I$(src) 65ifdef MVERSION 66CFLAGS_driver.o = -DHFI_DRIVER_VERSION_BASE=\"$(MVERSION)\" 67endif 68