svn commit: r330595 - head/sys/dev/mlx4/mlx4_ib

Hans Petter Selasky hselasky at FreeBSD.org
Wed Mar 7 13:58:59 UTC 2018


Author: hselasky
Date: Wed Mar  7 13:58:58 2018
New Revision: 330595
URL: https://svnweb.freebsd.org/changeset/base/330595

Log:
  The mlx4ib(4) should not be loaded before the ibcore is initialized.
  
  MFC after:	1 week
  Sponsored by:	Mellanox Technologies

Modified:
  head/sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c

Modified: head/sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c
==============================================================================
--- head/sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c	Wed Mar  7 13:57:32 2018	(r330594)
+++ head/sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c	Wed Mar  7 13:58:58 2018	(r330595)
@@ -3317,7 +3317,7 @@ static void __exit mlx4_ib_cleanup(void)
 	destroy_workqueue(wq);
 }
 
-module_init_order(mlx4_ib_init, SI_ORDER_MIDDLE);
+module_init_order(mlx4_ib_init, SI_ORDER_THIRD);
 module_exit(mlx4_ib_cleanup);
 
 static int


More information about the svn-src-head mailing list