qlnxe: Fix building as in-kernel component
Add some extra files for building the driver as part of the kernel. Change some #defines to match those used when building as a module. PR: 268354 Signed-off-by: Mark O'Donovan <shiftee@posteo.net> Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/779
This commit is contained in:
parent
dc58675cfb
commit
e4017d9b69
@ -297,6 +297,22 @@ dev/qlnx/qlnxe/ecore_sp_commands.c optional qlnxe pci \
|
||||
compile-with "${LINUXKPI_C}"
|
||||
dev/qlnx/qlnxe/ecore_spq.c optional qlnxe pci \
|
||||
compile-with "${LINUXKPI_C}"
|
||||
dev/qlnx/qlnxe/ecore_sriov.c optional qlnxe pci \
|
||||
compile-with "${LINUXKPI_C}"
|
||||
dev/qlnx/qlnxe/ecore_vf.c optional qlnxe pci \
|
||||
compile-with "${LINUXKPI_C}"
|
||||
dev/qlnx/qlnxe/ecore_ll2.c optional qlnxe pci \
|
||||
compile-with "${LINUXKPI_C}"
|
||||
dev/qlnx/qlnxe/ecore_iwarp.c optional qlnxe pci \
|
||||
compile-with "${LINUXKPI_C}"
|
||||
dev/qlnx/qlnxe/ecore_rdma.c optional qlnxe pci \
|
||||
compile-with "${LINUXKPI_C}"
|
||||
dev/qlnx/qlnxe/ecore_roce.c optional qlnxe pci \
|
||||
compile-with "${LINUXKPI_C}"
|
||||
dev/qlnx/qlnxe/ecore_ooo.c optional qlnxe pci \
|
||||
compile-with "${LINUXKPI_C}"
|
||||
dev/qlnx/qlnxe/qlnx_rdma.c optional qlnxe pci \
|
||||
compile-with "${LINUXKPI_C}"
|
||||
dev/qlnx/qlnxe/qlnx_ioctl.c optional qlnxe pci \
|
||||
compile-with "${LINUXKPI_C}"
|
||||
dev/qlnx/qlnxe/qlnx_os.c optional qlnxe pci \
|
||||
|
@ -94,9 +94,10 @@ enum ecore_nvm_cmd {
|
||||
#define CONFIG_ECORE_SRIOV
|
||||
#define CONFIG_ECORE_ROCE
|
||||
#define CONFIG_ECORE_IWARP
|
||||
#define CONFIG_ECORE_FCOE
|
||||
#define CONFIG_ECORE_ISCSI
|
||||
#define CONFIG_ECORE_LL2
|
||||
#define CONFIG_ECORE_RDMA
|
||||
#define ECORE_CONFIG_DIRECT_HWFN
|
||||
#define QLNX_ENABLE_IWARP
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user