From 549bb844cfe0699c5222da5a1604c319701abbfa Mon Sep 17 00:00:00 2001 From: Ravi Pokala Date: Wed, 30 May 2018 02:26:36 +0000 Subject: [PATCH] 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 --- sys/conf/makeLINT.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/conf/makeLINT.mk b/sys/conf/makeLINT.mk index 6daa280f02d..52dddf5a97d 100644 --- a/sys/conf/makeLINT.mk +++ b/sys/conf/makeLINT.mk @@ -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