svn commit: r219655 - in projects/ofed/head/sys/ofed/drivers:
infiniband/hw/mlx4 net/mlx4
Jeff Roberson
jeff at FreeBSD.org
Mon Mar 14 23:54:19 UTC 2011
Author: jeff
Date: Mon Mar 14 23:54:19 2011
New Revision: 219655
URL: http://svn.freebsd.org/changeset/base/219655
Log:
- Putting my module defines in SI_SUB_KLD made them sensitive to link
order. Move them all the way down to SI_SUB_SMP. The module handlers
don't do anything anyway.
Modified:
projects/ofed/head/sys/ofed/drivers/infiniband/hw/mlx4/main.c
projects/ofed/head/sys/ofed/drivers/net/mlx4/en_main.c
projects/ofed/head/sys/ofed/drivers/net/mlx4/main.c
Modified: projects/ofed/head/sys/ofed/drivers/infiniband/hw/mlx4/main.c
==============================================================================
--- projects/ofed/head/sys/ofed/drivers/infiniband/hw/mlx4/main.c Mon Mar 14 23:49:41 2011 (r219654)
+++ projects/ofed/head/sys/ofed/drivers/infiniband/hw/mlx4/main.c Mon Mar 14 23:54:19 2011 (r219655)
@@ -1576,5 +1576,5 @@ static moduledata_t mlx4ib_mod = {
.name = "mlx4ib",
.evhand = mlx4ib_evhand,
};
-DECLARE_MODULE(mlx4ib, mlx4ib_mod, SI_SUB_KLD, SI_ORDER_ANY);
+DECLARE_MODULE(mlx4ib, mlx4ib_mod, SI_SUB_SMP, SI_ORDER_ANY);
MODULE_DEPEND(mlx4ib, mlx4, 1, 1, 1);
Modified: projects/ofed/head/sys/ofed/drivers/net/mlx4/en_main.c
==============================================================================
--- projects/ofed/head/sys/ofed/drivers/net/mlx4/en_main.c Mon Mar 14 23:49:41 2011 (r219654)
+++ projects/ofed/head/sys/ofed/drivers/net/mlx4/en_main.c Mon Mar 14 23:54:19 2011 (r219655)
@@ -380,5 +380,5 @@ static moduledata_t mlxen_mod = {
.name = "mlxen",
.evhand = mlxen_evhand,
};
-DECLARE_MODULE(mlxen, mlxen_mod, SI_SUB_KLD, SI_ORDER_ANY);
+DECLARE_MODULE(mlxen, mlxen_mod, SI_SUB_SMP, SI_ORDER_ANY);
MODULE_DEPEND(mlxen, mlx4, 1, 1, 1);
Modified: projects/ofed/head/sys/ofed/drivers/net/mlx4/main.c
==============================================================================
--- projects/ofed/head/sys/ofed/drivers/net/mlx4/main.c Mon Mar 14 23:49:41 2011 (r219654)
+++ projects/ofed/head/sys/ofed/drivers/net/mlx4/main.c Mon Mar 14 23:54:19 2011 (r219655)
@@ -1701,4 +1701,4 @@ static moduledata_t mlx4_mod = {
.evhand = mlx4_evhand,
};
MODULE_VERSION(mlx4, 1);
-DECLARE_MODULE(mlx4, mlx4_mod, SI_SUB_KLD, SI_ORDER_ANY);
+DECLARE_MODULE(mlx4, mlx4_mod, SI_SUB_SMP, SI_ORDER_ANY);
More information about the svn-src-projects
mailing list