aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ehca/ehca_main.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2012-01-12 18:02:20 -0500
committerRusty Russell <rusty@rustcorp.com.au>2012-01-12 18:02:20 -0500
commit90ab5ee94171b3e28de6bb42ee30b527014e0be7 (patch)
treefcf89889f6e881f2b231d3d20287c08174ce4b54 /drivers/infiniband/hw/ehca/ehca_main.c
parent476bc0015bf09dad39d36a8b19f76f0c181d1ec9 (diff)
module_param: make bool parameters really bool (drivers & misc)
module_param(bool) used to counter-intuitively take an int. In fddd5201 (mid-2009) we allowed bool or int/unsigned int using a messy trick. It's time to remove the int/unsigned int option. For this version it'll simply give a warning, but it'll break next kernel version. Acked-by: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/infiniband/hw/ehca/ehca_main.c')
-rw-r--r--drivers/infiniband/hw/ehca/ehca_main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/infiniband/hw/ehca/ehca_main.c b/drivers/infiniband/hw/ehca/ehca_main.c
index 8af8d4f7bdb..832e7a7d0ae 100644
--- a/drivers/infiniband/hw/ehca/ehca_main.c
+++ b/drivers/infiniband/hw/ehca/ehca_main.c
@@ -59,16 +59,16 @@ MODULE_AUTHOR("Christoph Raisch <raisch@de.ibm.com>");
59MODULE_DESCRIPTION("IBM eServer HCA InfiniBand Device Driver"); 59MODULE_DESCRIPTION("IBM eServer HCA InfiniBand Device Driver");
60MODULE_VERSION(HCAD_VERSION); 60MODULE_VERSION(HCAD_VERSION);
61 61
62static int ehca_open_aqp1 = 0; 62static bool ehca_open_aqp1 = 0;
63static int ehca_hw_level = 0; 63static int ehca_hw_level = 0;
64static int ehca_poll_all_eqs = 1; 64static bool ehca_poll_all_eqs = 1;
65 65
66int ehca_debug_level = 0; 66int ehca_debug_level = 0;
67int ehca_nr_ports = -1; 67int ehca_nr_ports = -1;
68int ehca_use_hp_mr = 0; 68bool ehca_use_hp_mr = 0;
69int ehca_port_act_time = 30; 69int ehca_port_act_time = 30;
70int ehca_static_rate = -1; 70int ehca_static_rate = -1;
71int ehca_scaling_code = 0; 71bool ehca_scaling_code = 0;
72int ehca_lock_hcalls = -1; 72int ehca_lock_hcalls = -1;
73int ehca_max_cq = -1; 73int ehca_max_cq = -1;
74int ehca_max_qp = -1; 74int ehca_max_qp = -1;