svn commit: r334364 - head/sys/conf
Ravi Pokala
rpokala at FreeBSD.org
Wed May 30 02:26:37 UTC 2018
Author: rpokala
Date: Wed May 30 02:26:36 2018
New Revision: 334364
URL: https://svnweb.freebsd.org/changeset/base/334364
Log:
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
Modified:
head/sys/conf/makeLINT.mk
Modified: head/sys/conf/makeLINT.mk
==============================================================================
--- head/sys/conf/makeLINT.mk Wed May 30 01:16:50 2018 (r334363)
+++ head/sys/conf/makeLINT.mk Wed May 30 02:26:36 2018 (r334364)
@@ -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
More information about the svn-src-all
mailing list