All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ehca: use port autodetect mode as default
@ 2009-07-07 14:06 ` Alexander Schmidt
  0 siblings, 0 replies; 4+ messages in thread
From: Alexander Schmidt @ 2009-07-07 14:06 UTC (permalink / raw)
  To: Roland Dreier
  Cc: of-ewg, lkml, linuxppc-dev, Christoph Raisch, of-general,
	Hoang-Nam Nguyen, Stefan Roscher

This patch sets the port autodetect mode as default for the ehca driver. The
autodetect code has been in the kernel for several releases now and has
proved to be stable.

---
Roland, please queue this change for 2.6.32 if you are okay with it.

 drivers/infiniband/hw/ehca/ehca_main.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

--- infiniband.git.orig/drivers/infiniband/hw/ehca/ehca_main.c
+++ infiniband.git/drivers/infiniband/hw/ehca/ehca_main.c
@@ -52,7 +52,7 @@
 #include "ehca_tools.h"
 #include "hcp_if.h"
 
-#define HCAD_VERSION "0028"
+#define HCAD_VERSION "0029"
 
 MODULE_LICENSE("Dual BSD/GPL");
 MODULE_AUTHOR("Christoph Raisch <raisch@de.ibm.com>");
@@ -64,7 +64,7 @@ static int ehca_hw_level      = 0;
 static int ehca_poll_all_eqs  = 1;
 
 int ehca_debug_level   = 0;
-int ehca_nr_ports      = 2;
+int ehca_nr_ports      = -1;
 int ehca_use_hp_mr     = 0;
 int ehca_port_act_time = 30;
 int ehca_static_rate   = -1;
@@ -95,8 +95,8 @@ MODULE_PARM_DESC(hw_level,
 		 "Hardware level (0: autosensing (default), "
 		 "0x10..0x14: eHCA, 0x20..0x23: eHCA2)");
 MODULE_PARM_DESC(nr_ports,
-		 "number of connected ports (-1: autodetect, 1: port one only, "
-		 "2: two ports (default)");
+		 "number of connected ports (-1: autodetect (default), "
+		 "1: port one only, 2: two ports)");
 MODULE_PARM_DESC(use_hp_mr,
 		 "Use high performance MRs (default: no)");
 MODULE_PARM_DESC(port_act_time,

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] ehca: use port autodetect mode as default
@ 2009-07-07 14:06 ` Alexander Schmidt
  0 siblings, 0 replies; 4+ messages in thread
From: Alexander Schmidt @ 2009-07-07 14:06 UTC (permalink / raw)
  To: Roland Dreier
  Cc: of-ewg, of-general, linuxppc-dev, lkml, Stefan Roscher,
	Hoang-Nam Nguyen, Christoph Raisch

This patch sets the port autodetect mode as default for the ehca driver. The
autodetect code has been in the kernel for several releases now and has
proved to be stable.

---
Roland, please queue this change for 2.6.32 if you are okay with it.

 drivers/infiniband/hw/ehca/ehca_main.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

--- infiniband.git.orig/drivers/infiniband/hw/ehca/ehca_main.c
+++ infiniband.git/drivers/infiniband/hw/ehca/ehca_main.c
@@ -52,7 +52,7 @@
 #include "ehca_tools.h"
 #include "hcp_if.h"
 
-#define HCAD_VERSION "0028"
+#define HCAD_VERSION "0029"
 
 MODULE_LICENSE("Dual BSD/GPL");
 MODULE_AUTHOR("Christoph Raisch <raisch@de.ibm.com>");
@@ -64,7 +64,7 @@ static int ehca_hw_level      = 0;
 static int ehca_poll_all_eqs  = 1;
 
 int ehca_debug_level   = 0;
-int ehca_nr_ports      = 2;
+int ehca_nr_ports      = -1;
 int ehca_use_hp_mr     = 0;
 int ehca_port_act_time = 30;
 int ehca_static_rate   = -1;
@@ -95,8 +95,8 @@ MODULE_PARM_DESC(hw_level,
 		 "Hardware level (0: autosensing (default), "
 		 "0x10..0x14: eHCA, 0x20..0x23: eHCA2)");
 MODULE_PARM_DESC(nr_ports,
-		 "number of connected ports (-1: autodetect, 1: port one only, "
-		 "2: two ports (default)");
+		 "number of connected ports (-1: autodetect (default), "
+		 "1: port one only, 2: two ports)");
 MODULE_PARM_DESC(use_hp_mr,
 		 "Use high performance MRs (default: no)");
 MODULE_PARM_DESC(port_act_time,

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ehca: use port autodetect mode as default
  2009-07-07 14:06 ` Alexander Schmidt
@ 2009-07-08 22:26   ` Roland Dreier
  -1 siblings, 0 replies; 4+ messages in thread
From: Roland Dreier @ 2009-07-08 22:26 UTC (permalink / raw)
  To: Alexander Schmidt
  Cc: of-ewg, lkml, linuxppc-dev, Christoph Raisch, of-general,
	Hoang-Nam Nguyen, Stefan Roscher

looks good, applied

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ehca: use port autodetect mode as default
@ 2009-07-08 22:26   ` Roland Dreier
  0 siblings, 0 replies; 4+ messages in thread
From: Roland Dreier @ 2009-07-08 22:26 UTC (permalink / raw)
  To: Alexander Schmidt
  Cc: Roland Dreier, of-ewg, of-general, linuxppc-dev, lkml,
	Stefan Roscher, Hoang-Nam Nguyen, Christoph Raisch

looks good, applied

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-07-08 22:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-07 14:06 [PATCH] ehca: use port autodetect mode as default Alexander Schmidt
2009-07-07 14:06 ` Alexander Schmidt
2009-07-08 22:26 ` Roland Dreier
2009-07-08 22:26   ` Roland Dreier

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.