bnxt: Do not compile on 32-bit platforms

The new bnxt_re driver doesn't compile on any of them (it uses writeq()
from the LinuxKPI, which isn't implemented there), and had already been
disconnected from the build on i386.

Reported by:	Jenkins
Fixes:	acd884dec9 ("RDMA/bnxt_re: Add bnxt_re RoCE driver")
This commit is contained in:
Mark Johnston 2024-05-28 09:05:14 -04:00
parent bbe42332e5
commit c867ba7288

View File

@ -442,8 +442,8 @@ SUBDIR+= dtrace
SUBDIR+= opensolaris
.endif
# Requires bus_space_read_8
.if ${MACHINE_ARCH} != "i386"
.if ${MACHINE_ARCH} != "i386" && ${MACHINE_CPUARCH} != "arm" && \
${MACHINE_ARCH} != "powerpc" && ${MACHINE_ARCH} != "powerpcspe"
_bnxt= bnxt
.endif