ixl(4): Enable building driver on ARM64

For consistency with other drivers enable building ixl
on ARM64 target.

Please be advised that it is only compile tested.
Intel will continue to test Ethernet drivers only on x86-64
platforms, and is not going to provide support for issues,
which cannot be reproduced in such environment.

Signed-off-by: Krzysztof Galazka <krzysztof.galazka@intel.com>

Suggested by:	Dave Cottlehuber <dch@FreeBSD.org>
Reviewed by:	manu
Approved by:	kbowling (mentor)
MFC after:	2 weeks
Sponsored by:   Intel Corporation
Differential Revision:	https://reviews.freebsd.org/D54289
This commit is contained in:
Krzysztof Galazka 2026-01-09 23:36:10 +01:00
parent 247d24a694
commit a3d472219c
4 changed files with 35 additions and 2 deletions

View file

@ -92,6 +92,7 @@ device al_eth # Annapurna Alpine Ethernet NIC
device dwc # Synopsys Designware GMAC Ethernet
device dwc_rk # Rockchip Designware
device dwc_socfpga # Altera SOCFPGA Ethernet MAC
device ixl # Intel 700 Series Physical Function
device ice # Intel 800 Series Physical Function
device ice_ddp # Intel 800 Series DDP Package

View file

@ -413,6 +413,35 @@ dev/ipmi/ipmi_smbus.c optional ipmi smbus
dev/ipmi/ipmi_smic.c optional ipmi
dev/ipmi/ipmi_ssif.c optional ipmi smbus
dev/ixl/if_ixl.c optional ixl pci \
compile-with "${NORMAL_C} -I$S/dev/ixl"
dev/ixl/ixl_pf_main.c optional ixl pci \
compile-with "${NORMAL_C} -I$S/dev/ixl"
dev/ixl/ixl_pf_iflib.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 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"
dev/ixl/ixl_txrx.c optional ixl pci \
compile-with "${NORMAL_C} -I$S/dev/ixl"
dev/ixl/i40e_osdep.c optional ixl pci \
compile-with "${NORMAL_C} -I$S/dev/ixl"
dev/ixl/i40e_lan_hmc.c optional ixl pci \
compile-with "${NORMAL_C} -I$S/dev/ixl"
dev/ixl/i40e_hmc.c optional ixl pci \
compile-with "${NORMAL_C} -I$S/dev/ixl"
dev/ixl/i40e_common.c optional ixl pci \
compile-with "${NORMAL_C} -I$S/dev/ixl"
dev/ixl/i40e_nvm.c optional ixl pci \
compile-with "${NORMAL_C} -I$S/dev/ixl"
dev/ixl/i40e_adminq.c optional ixl pci \
compile-with "${NORMAL_C} -I$S/dev/ixl"
dev/ixl/i40e_dcb.c optional ixl pci \
compile-with "${NORMAL_C} -I$S/dev/ixl"
dev/mailbox/arm/arm_doorbell.c optional fdt arm_doorbell
dev/mbox/mbox_if.m optional soc_brcm_bcm2837

View file

@ -16,6 +16,9 @@ COMPAT_FREEBSD32 opt_global.h
# Emulate SWP/SWPB for COMPAT_FREEBSD32
EMUL_SWP opt_global.h
# iWARP client interface support in ixl
IXL_IW opt_ixl.h
# EFI Runtime services support
EFIRT opt_efirt.h

View file

@ -666,7 +666,7 @@ _genet= genet
.endif
.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "aarch64" || \
${MACHINE_ARCH:Mpowerpc64*}
${MACHINE_ARCH:Mpowerpc64*} != ""
_ice= ice
.if ${MK_SOURCELESS_UCODE} != "no"
_ice_ddp= ice_ddp
@ -676,6 +676,7 @@ _ice_ddp= ice_ddp
_irdma= irdma
.endif
.endif
_ixl= ixl
.endif
.if ${MACHINE_CPUARCH} == "aarch64"
@ -917,7 +918,6 @@ _ffec= ffec
.endif
.if ${MACHINE_ARCH:Mpowerpc64*} != ""
_ixl= ixl
_nvram= opal_nvram
.endif