Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 May 2018 02:26:36 +0000 (UTC)
From:      Ravi Pokala <rpokala@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r334364 - head/sys/conf
Message-ID:  <201805300226.w4U2QadF025157@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805300226.w4U2QadF025157>