aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrice Goglin <brice@myri.com>2008-05-08 20:16:53 -0400
committerJeff Garzik <jgarzik@redhat.com>2008-05-13 01:30:26 -0400
commitd1ce3a0f1a07b48e16ebbc71886086779b52f630 (patch)
tree9ec403fe4023f92560f603e45dd8cf7e2efef229
parent0f7229dde3f2b5373e26e7d7dd35012bd975e452 (diff)
myri10ge: fix module parameter descriptions
Remove useless linebreaks at the end of MODULE_PARM_DESC and fix the description of myri10ge_lro_max_pkts. Signed-off-by: Brice Goglin <brice@myri.com> Signed-off-by: Andrew Gallatin <gallatin@myri.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
-rw-r--r--drivers/net/myri10ge/myri10ge.c35
1 files changed, 18 insertions, 17 deletions
diff --git a/drivers/net/myri10ge/myri10ge.c b/drivers/net/myri10ge/myri10ge.c
index ef63c8d2bd7e..162c624f7f53 100644
--- a/drivers/net/myri10ge/myri10ge.c
+++ b/drivers/net/myri10ge/myri10ge.c
@@ -228,58 +228,58 @@ static char *myri10ge_fw_aligned = "myri10ge_eth_z8e.dat";
228 228
229static char *myri10ge_fw_name = NULL; 229static char *myri10ge_fw_name = NULL;
230module_param(myri10ge_fw_name, charp, S_IRUGO | S_IWUSR); 230module_param(myri10ge_fw_name, charp, S_IRUGO | S_IWUSR);
231MODULE_PARM_DESC(myri10ge_fw_name, "Firmware image name\n"); 231MODULE_PARM_DESC(myri10ge_fw_name, "Firmware image name");
232 232
233static int myri10ge_ecrc_enable = 1; 233static int myri10ge_ecrc_enable = 1;
234module_param(myri10ge_ecrc_enable, int, S_IRUGO); 234module_param(myri10ge_ecrc_enable, int, S_IRUGO);
235MODULE_PARM_DESC(myri10ge_ecrc_enable, "Enable Extended CRC on PCI-E\n"); 235MODULE_PARM_DESC(myri10ge_ecrc_enable, "Enable Extended CRC on PCI-E");
236 236
237static int myri10ge_max_intr_slots = 1024; 237static int myri10ge_max_intr_slots = 1024;
238module_param(myri10ge_max_intr_slots, int, S_IRUGO); 238module_param(myri10ge_max_intr_slots, int, S_IRUGO);
239MODULE_PARM_DESC(myri10ge_max_intr_slots, "Interrupt queue slots\n"); 239MODULE_PARM_DESC(myri10ge_max_intr_slots, "Interrupt queue slots");
240 240
241static int myri10ge_small_bytes = -1; /* -1 == auto */ 241static int myri10ge_small_bytes = -1; /* -1 == auto */
242module_param(myri10ge_small_bytes, int, S_IRUGO | S_IWUSR); 242module_param(myri10ge_small_bytes, int, S_IRUGO | S_IWUSR);
243MODULE_PARM_DESC(myri10ge_small_bytes, "Threshold of small packets\n"); 243MODULE_PARM_DESC(myri10ge_small_bytes, "Threshold of small packets");
244 244
245static int myri10ge_msi = 1; /* enable msi by default */ 245static int myri10ge_msi = 1; /* enable msi by default */
246module_param(myri10ge_msi, int, S_IRUGO | S_IWUSR); 246module_param(myri10ge_msi, int, S_IRUGO | S_IWUSR);
247MODULE_PARM_DESC(myri10ge_msi, "Enable Message Signalled Interrupts\n"); 247MODULE_PARM_DESC(myri10ge_msi, "Enable Message Signalled Interrupts");
248 248
249static int myri10ge_intr_coal_delay = 75; 249static int myri10ge_intr_coal_delay = 75;
250module_param(myri10ge_intr_coal_delay, int, S_IRUGO); 250module_param(myri10ge_intr_coal_delay, int, S_IRUGO);
251MODULE_PARM_DESC(myri10ge_intr_coal_delay, "Interrupt coalescing delay\n"); 251MODULE_PARM_DESC(myri10ge_intr_coal_delay, "Interrupt coalescing delay");
252 252
253static int myri10ge_flow_control = 1; 253static int myri10ge_flow_control = 1;
254module_param(myri10ge_flow_control, int, S_IRUGO); 254module_param(myri10ge_flow_control, int, S_IRUGO);
255MODULE_PARM_DESC(myri10ge_flow_control, "Pause parameter\n"); 255MODULE_PARM_DESC(myri10ge_flow_control, "Pause parameter");
256 256
257static int myri10ge_deassert_wait = 1; 257static int myri10ge_deassert_wait = 1;
258module_param(myri10ge_deassert_wait, int, S_IRUGO | S_IWUSR); 258module_param(myri10ge_deassert_wait, int, S_IRUGO | S_IWUSR);
259MODULE_PARM_DESC(myri10ge_deassert_wait, 259MODULE_PARM_DESC(myri10ge_deassert_wait,
260 "Wait when deasserting legacy interrupts\n"); 260 "Wait when deasserting legacy interrupts");
261 261
262static int myri10ge_force_firmware = 0; 262static int myri10ge_force_firmware = 0;
263module_param(myri10ge_force_firmware, int, S_IRUGO); 263module_param(myri10ge_force_firmware, int, S_IRUGO);
264MODULE_PARM_DESC(myri10ge_force_firmware, 264MODULE_PARM_DESC(myri10ge_force_firmware,
265 "Force firmware to assume aligned completions\n"); 265 "Force firmware to assume aligned completions");
266 266
267static int myri10ge_initial_mtu = MYRI10GE_MAX_ETHER_MTU - ETH_HLEN; 267static int myri10ge_initial_mtu = MYRI10GE_MAX_ETHER_MTU - ETH_HLEN;
268module_param(myri10ge_initial_mtu, int, S_IRUGO); 268module_param(myri10ge_initial_mtu, int, S_IRUGO);
269MODULE_PARM_DESC(myri10ge_initial_mtu, "Initial MTU\n"); 269MODULE_PARM_DESC(myri10ge_initial_mtu, "Initial MTU");
270 270
271static int myri10ge_napi_weight = 64; 271static int myri10ge_napi_weight = 64;
272module_param(myri10ge_napi_weight, int, S_IRUGO); 272module_param(myri10ge_napi_weight, int, S_IRUGO);
273MODULE_PARM_DESC(myri10ge_napi_weight, "Set NAPI weight\n"); 273MODULE_PARM_DESC(myri10ge_napi_weight, "Set NAPI weight");
274 274
275static int myri10ge_watchdog_timeout = 1; 275static int myri10ge_watchdog_timeout = 1;
276module_param(myri10ge_watchdog_timeout, int, S_IRUGO); 276module_param(myri10ge_watchdog_timeout, int, S_IRUGO);
277MODULE_PARM_DESC(myri10ge_watchdog_timeout, "Set watchdog timeout\n"); 277MODULE_PARM_DESC(myri10ge_watchdog_timeout, "Set watchdog timeout");
278 278
279static int myri10ge_max_irq_loops = 1048576; 279static int myri10ge_max_irq_loops = 1048576;
280module_param(myri10ge_max_irq_loops, int, S_IRUGO); 280module_param(myri10ge_max_irq_loops, int, S_IRUGO);
281MODULE_PARM_DESC(myri10ge_max_irq_loops, 281MODULE_PARM_DESC(myri10ge_max_irq_loops,
282 "Set stuck legacy IRQ detection threshold\n"); 282 "Set stuck legacy IRQ detection threshold");
283 283
284#define MYRI10GE_MSG_DEFAULT NETIF_MSG_LINK 284#define MYRI10GE_MSG_DEFAULT NETIF_MSG_LINK
285 285
@@ -289,21 +289,22 @@ MODULE_PARM_DESC(myri10ge_debug, "Debug level (0=none,...,16=all)");
289 289
290static int myri10ge_lro = 1; 290static int myri10ge_lro = 1;
291module_param(myri10ge_lro, int, S_IRUGO); 291module_param(myri10ge_lro, int, S_IRUGO);
292MODULE_PARM_DESC(myri10ge_lro, "Enable large receive offload\n"); 292MODULE_PARM_DESC(myri10ge_lro, "Enable large receive offload");
293 293
294static int myri10ge_lro_max_pkts = MYRI10GE_LRO_MAX_PKTS; 294static int myri10ge_lro_max_pkts = MYRI10GE_LRO_MAX_PKTS;
295module_param(myri10ge_lro_max_pkts, int, S_IRUGO); 295module_param(myri10ge_lro_max_pkts, int, S_IRUGO);
296MODULE_PARM_DESC(myri10ge_lro, "Number of LRO packets to be aggregated\n"); 296MODULE_PARM_DESC(myri10ge_lro_max_pkts,
297 "Number of LRO packets to be aggregated");
297 298
298static int myri10ge_fill_thresh = 256; 299static int myri10ge_fill_thresh = 256;
299module_param(myri10ge_fill_thresh, int, S_IRUGO | S_IWUSR); 300module_param(myri10ge_fill_thresh, int, S_IRUGO | S_IWUSR);
300MODULE_PARM_DESC(myri10ge_fill_thresh, "Number of empty rx slots allowed\n"); 301MODULE_PARM_DESC(myri10ge_fill_thresh, "Number of empty rx slots allowed");
301 302
302static int myri10ge_reset_recover = 1; 303static int myri10ge_reset_recover = 1;
303 304
304static int myri10ge_wcfifo = 0; 305static int myri10ge_wcfifo = 0;
305module_param(myri10ge_wcfifo, int, S_IRUGO); 306module_param(myri10ge_wcfifo, int, S_IRUGO);
306MODULE_PARM_DESC(myri10ge_wcfifo, "Enable WC Fifo when WC is enabled\n"); 307MODULE_PARM_DESC(myri10ge_wcfifo, "Enable WC Fifo when WC is enabled");
307 308
308#define MYRI10GE_FW_OFFSET 1024*1024 309#define MYRI10GE_FW_OFFSET 1024*1024
309#define MYRI10GE_HIGHPART_TO_U32(X) \ 310#define MYRI10GE_HIGHPART_TO_U32(X) \