Fix kldload of if_ixl without PCI_IOV kernel option.
This also avoids compiling in pci_iov support into the kernel if_ixoif the PCI_IOV option is disabled. Reviewed by: rstone Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D11573
This commit is contained in:
parent
3820007146
commit
a19f95b359
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=320973
@ -253,7 +253,7 @@ dev/ixl/ixl_pf_main.c optional ixl pci \
|
||||
compile-with "${NORMAL_C} -I$S/dev/ixl"
|
||||
dev/ixl/ixl_pf_qmgr.c optional ixl pci \
|
||||
compile-with "${NORMAL_C} -I$S/dev/ixl"
|
||||
dev/ixl/ixl_pf_iov.c optional ixl pci \
|
||||
dev/ixl/ixl_pf_iov.c optional ixl pci pci_iov \
|
||||
compile-with "${NORMAL_C} -I$S/dev/ixl"
|
||||
dev/ixl/ixl_pf_i2c.c optional ixl pci \
|
||||
compile-with "${NORMAL_C} -I$S/dev/ixl"
|
||||
|
@ -3,10 +3,11 @@
|
||||
.PATH: ${SRCTOP}/sys/dev/ixl
|
||||
|
||||
KMOD = if_ixl
|
||||
SRCS = device_if.h bus_if.h pci_if.h pci_iov_if.h
|
||||
SRCS = device_if.h bus_if.h pci_if.h
|
||||
SRCS += opt_inet.h opt_inet6.h opt_rss.h opt_ixl.h
|
||||
SRCS += if_ixl.c ixl_pf_main.c ixl_pf_qmgr.c ixl_txrx.c ixl_pf_i2c.c i40e_osdep.c
|
||||
SRCS += ixl_pf_iov.c ixl_iw.c
|
||||
SRCS += ixl_iw.c
|
||||
SRCS.PCI_IOV= pci_iov_if.h ixl_pf_iov.c
|
||||
|
||||
# Shared source
|
||||
SRCS += i40e_common.c i40e_nvm.c i40e_adminq.c i40e_lan_hmc.c i40e_hmc.c
|
||||
|
Loading…
Reference in New Issue
Block a user