提交 c086abae 编写于 作者: U ubuntu@tjworld.net 提交者: John W. Linville

ipw2200: Enable LED by default

BugLink: http://bugs.launchpad.net/bugs/21367

Enable LED by default and update the MODULE_PARM_DESC.  The original
reason for defaulting to disabled was documented in 2005 and noted, "The
LED code has been reported to hang some systems when running ifconfig
and is therefore disabled by default."  This no longer appears
applicable and users have been requesting this be enabled for several
years.
Signed-off-by: NTJ <ubuntu@tjworld.net>
Signed-off-by: NTim Gardner <tim.gardner@canonical.com>
Signed-off-by: NAndy Whitcroft <apw@canonical.com>
Acked-by: NStefan Bader <stefan.bader@canonical.com>
Signed-off-by: NLeann Ogasawara <leann.ogasawara@canonical.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 7484bdc0
...@@ -171,7 +171,7 @@ Where the supported parameter are: ...@@ -171,7 +171,7 @@ Where the supported parameter are:
led led
Can be used to turn on experimental LED code. Can be used to turn on experimental LED code.
0 = Off, 1 = On. Default is 0. 0 = Off, 1 = On. Default is 1.
mode mode
Can be used to set the default mode of the adapter. Can be used to set the default mode of the adapter.
......
...@@ -96,7 +96,7 @@ static int network_mode = 0; ...@@ -96,7 +96,7 @@ static int network_mode = 0;
static u32 ipw_debug_level; static u32 ipw_debug_level;
static int associate; static int associate;
static int auto_create = 1; static int auto_create = 1;
static int led_support = 0; static int led_support = 1;
static int disable = 0; static int disable = 0;
static int bt_coexist = 0; static int bt_coexist = 0;
static int hwcrypto = 0; static int hwcrypto = 0;
...@@ -12082,7 +12082,7 @@ module_param(auto_create, int, 0444); ...@@ -12082,7 +12082,7 @@ module_param(auto_create, int, 0444);
MODULE_PARM_DESC(auto_create, "auto create adhoc network (default on)"); MODULE_PARM_DESC(auto_create, "auto create adhoc network (default on)");
module_param_named(led, led_support, int, 0444); module_param_named(led, led_support, int, 0444);
MODULE_PARM_DESC(led, "enable led control on some systems (default 0 off)"); MODULE_PARM_DESC(led, "enable led control on some systems (default 1 on)");
module_param(debug, int, 0444); module_param(debug, int, 0444);
MODULE_PARM_DESC(debug, "debug output mask"); MODULE_PARM_DESC(debug, "debug output mask");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册