Author: jhb
Date: Fri Mar 11 23:18:06 2016
New Revision: 296688
URL: https://svnweb.freebsd.org/changeset/base/296688

Log:
  Use SI_SUB_LAST instead of SI_SUB_SMP as the "catch-all" subsystem.
  
  Reviewed by:  kib
  Sponsored by: Netflix
  Differential Revision:        https://reviews.freebsd.org/D5515

Modified:
  head/sys/kern/kern_alq.c
  head/sys/netinet/siftr.c
  head/sys/ofed/drivers/infiniband/core/device.c
  head/sys/ofed/drivers/infiniband/hw/mlx4/main.c
  head/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c

Modified: head/sys/kern/kern_alq.c
==============================================================================
--- head/sys/kern/kern_alq.c    Fri Mar 11 22:56:16 2016        (r296687)
+++ head/sys/kern/kern_alq.c    Fri Mar 11 23:18:06 2016        (r296688)
@@ -969,5 +969,5 @@ static moduledata_t alq_mod =
        NULL
 };
 
-DECLARE_MODULE(alq, alq_mod, SI_SUB_SMP, SI_ORDER_ANY);
+DECLARE_MODULE(alq, alq_mod, SI_SUB_LAST, SI_ORDER_ANY);
 MODULE_VERSION(alq, 1);

Modified: head/sys/netinet/siftr.c
==============================================================================
--- head/sys/netinet/siftr.c    Fri Mar 11 22:56:16 2016        (r296687)
+++ head/sys/netinet/siftr.c    Fri Mar 11 23:18:06 2016        (r296688)
@@ -1561,6 +1561,6 @@ static moduledata_t siftr_mod = {
  *          Defines the initialisation order of this kld relative to others
  *          within the same subsystem as defined by param 3
  */
-DECLARE_MODULE(siftr, siftr_mod, SI_SUB_SMP, SI_ORDER_ANY);
+DECLARE_MODULE(siftr, siftr_mod, SI_SUB_LAST, SI_ORDER_ANY);
 MODULE_DEPEND(siftr, alq, 1, 1, 1);
 MODULE_VERSION(siftr, MODVERSION);

Modified: head/sys/ofed/drivers/infiniband/core/device.c
==============================================================================
--- head/sys/ofed/drivers/infiniband/core/device.c      Fri Mar 11 22:56:16 
2016        (r296687)
+++ head/sys/ofed/drivers/infiniband/core/device.c      Fri Mar 11 23:18:06 
2016        (r296688)
@@ -790,4 +790,4 @@ static moduledata_t ibcore_mod = {
 
 MODULE_VERSION(ibcore, 1);
 MODULE_DEPEND(ibcore, linuxkpi, 1, 1, 1);
-DECLARE_MODULE(ibcore, ibcore_mod, SI_SUB_SMP, SI_ORDER_ANY);
+DECLARE_MODULE(ibcore, ibcore_mod, SI_SUB_LAST, SI_ORDER_ANY);

Modified: head/sys/ofed/drivers/infiniband/hw/mlx4/main.c
==============================================================================
--- head/sys/ofed/drivers/infiniband/hw/mlx4/main.c     Fri Mar 11 22:56:16 
2016        (r296687)
+++ head/sys/ofed/drivers/infiniband/hw/mlx4/main.c     Fri Mar 11 23:18:06 
2016        (r296688)
@@ -2881,7 +2881,7 @@ static moduledata_t mlx4ib_mod = {
        .evhand = mlx4ib_evhand,
 };
 
-DECLARE_MODULE(mlx4ib, mlx4ib_mod, SI_SUB_SMP, SI_ORDER_ANY);
+DECLARE_MODULE(mlx4ib, mlx4ib_mod, SI_SUB_LAST, SI_ORDER_ANY);
 MODULE_DEPEND(mlx4ib, mlx4, 1, 1, 1);
 MODULE_DEPEND(mlx4ib, ibcore, 1, 1, 1);
 MODULE_DEPEND(mlx4ib, linuxkpi, 1, 1, 1);

Modified: head/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
==============================================================================
--- head/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c     Fri Mar 11 
22:56:16 2016        (r296687)
+++ head/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c     Fri Mar 11 
23:18:06 2016        (r296688)
@@ -1535,6 +1535,6 @@ static moduledata_t ipoib_mod = {
                                        .evhand = ipoib_evhand,
 };
 
-DECLARE_MODULE(ipoib, ipoib_mod, SI_SUB_SMP, SI_ORDER_ANY);
+DECLARE_MODULE(ipoib, ipoib_mod, SI_SUB_LAST, SI_ORDER_ANY);
 MODULE_DEPEND(ipoib, ibcore, 1, 1, 1);
 MODULE_DEPEND(ipoib, linuxkpi, 1, 1, 1);
_______________________________________________
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