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
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to