Remove the mlx5 driver from LINT kernel config for 32-bit PPC

The mlx5 driver requires 64-bit atomics, which are not supported on 32-bit
PPC. Exclude that driver from the LINT kernel config.

Submitted by:	hps (but I re-worded the comment)
Reported by:	rpokala
Reviewed by:	jhibbits
Differential Revision:	https://reviews.freebsd.org/D15611
This commit is contained in:
Ravi Pokala 2018-05-30 02:26:36 +00:00
parent f37e7f527b
commit 549bb844cf
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=334364

View File

@ -55,4 +55,8 @@ LINT: ${NOTES} ${MAKELINT_SED}
cat ${.TARGET} > ${.TARGET}64
echo "machine ${TARGET} powerpc" >> ${.TARGET}
echo "machine ${TARGET} powerpc64" >> ${.TARGET}64
# mlx5 needs 64-bit atomics, so exclude from 32-bit PPC
echo "nodevice mlx5" >> ${.TARGET}
echo "nodevice mlx5en" >> ${.TARGET}
echo "nodevice mlx5ib" >> ${.TARGET}
.endif