Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 171207
b: refs/heads/master
c: aba3792
h: refs/heads/master
i:
  171205: 2947b2e
  171203: 01da4ca
  171199: 6fbfd01
v: v3
  • Loading branch information
Inaky Perez-Gonzalez committed Oct 19, 2009
1 parent 20db356 commit f3e4c5e
Show file tree
Hide file tree
Showing 7 changed files with 356 additions and 86 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 32742e6158657f19ad31653705bef56d983508e7
refs/heads/master: aba3792ac2d7c808a2d2fd2adf89531e083bdb90
12 changes: 11 additions & 1 deletion trunk/drivers/net/wimax/i2400m/driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,15 @@ MODULE_PARM_DESC(debug,
"are the different debug submodules and VALUE are the "
"initial debug value to set.");

static char i2400m_barkers_params[128];
module_param_string(barkers, i2400m_barkers_params,
sizeof(i2400m_barkers_params), 0644);
MODULE_PARM_DESC(barkers,
"String of comma-separated 32-bit values; each is "
"recognized as the value the device sends as a reboot "
"signal; values are appended to a list--setting one value "
"as zero cleans the existing list and starts a new one.");

/**
* i2400m_queue_work - schedule work on a i2400m's queue
*
Expand Down Expand Up @@ -804,7 +813,7 @@ int __init i2400m_driver_init(void)
{
d_parse_params(D_LEVEL, D_LEVEL_SIZE, i2400m_debug_params,
"i2400m.debug");
return 0;
return i2400m_barker_db_init(i2400m_barkers_params);
}
module_init(i2400m_driver_init);

Expand All @@ -813,6 +822,7 @@ void __exit i2400m_driver_exit(void)
{
/* for scheds i2400m_dev_reset_handle() */
flush_scheduled_work();
i2400m_barker_db_exit();
return;
}
module_exit(i2400m_driver_exit);
Expand Down
Loading

0 comments on commit f3e4c5e

Please sign in to comment.