Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
07d3c15a
cloud-kernel
项目概览
openanolis
/
cloud-kernel
大约 1 年 前同步成功
通知
158
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
07d3c15a
编写于
4月 27, 2012
作者:
W
Wey-Yi Guy
提交者:
John W. Linville
5月 08, 2012
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
iwlwifi: modify #ifdef to avoid sparse complain
Signed-off-by:
N
Wey-Yi Guy
<
wey-yi.w.guy@intel.com
>
上级
c7d25828
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
18 addition
and
19 deletion
+18
-19
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl-agn.c
+17
-18
drivers/net/wireless/iwlwifi/iwl-agn.h
drivers/net/wireless/iwlwifi/iwl-agn.h
+1
-1
未找到文件。
drivers/net/wireless/iwlwifi/iwl-agn.c
浏览文件 @
07d3c15a
...
...
@@ -1420,37 +1420,37 @@ void iwl_set_hw_params(struct iwl_priv *priv)
void
iwl_debug_config
(
struct
iwl_priv
*
priv
)
/* show what optional capabilities we have */
void
iwl_option_config
(
struct
iwl_priv
*
priv
)
{
IWL_INFO
(
priv
,
"CONFIG_IWLWIFI_DEBUG "
#ifdef CONFIG_IWLWIFI_DEBUG
"
enabled
\n
"
);
IWL_INFO
(
priv
,
"CONFIG_IWLWIFI_DEBUG
enabled
\n
"
);
#else
"
disabled
\n
"
);
IWL_INFO
(
priv
,
"CONFIG_IWLWIFI_DEBUG
disabled
\n
"
);
#endif
IWL_INFO
(
priv
,
"CONFIG_IWLWIFI_DEBUGFS "
#ifdef CONFIG_IWLWIFI_DEBUGFS
"
enabled
\n
"
);
IWL_INFO
(
priv
,
"CONFIG_IWLWIFI_DEBUGFS
enabled
\n
"
);
#else
"
disabled
\n
"
);
IWL_INFO
(
priv
,
"CONFIG_IWLWIFI_DEBUGFS
disabled
\n
"
);
#endif
IWL_INFO
(
priv
,
"CONFIG_IWLWIFI_DEVICE_TRACING "
#ifdef CONFIG_IWLWIFI_DEVICE_TRACING
"
enabled
\n
"
);
IWL_INFO
(
priv
,
"CONFIG_IWLWIFI_DEVICE_TRACING
enabled
\n
"
);
#else
"
disabled
\n
"
);
IWL_INFO
(
priv
,
"CONFIG_IWLWIFI_DEVICE_TRACING
disabled
\n
"
);
#endif
IWL_INFO
(
priv
,
"CONFIG_IWLWIFI_DEVICE_TESTMODE "
#ifdef CONFIG_IWLWIFI_DEVICE_TESTMODE
"
enabled
\n
"
);
IWL_INFO
(
priv
,
"CONFIG_IWLWIFI_DEVICE_TESTMODE
enabled
\n
"
);
#else
"
disabled
\n
"
);
IWL_INFO
(
priv
,
"CONFIG_IWLWIFI_DEVICE_TESTMODE
disabled
\n
"
);
#endif
IWL_INFO
(
priv
,
"CONFIG_IWLWIFI_P2P "
#ifdef CONFIG_IWLWIFI_P2P
"
enabled
\n
"
);
IWL_INFO
(
priv
,
"CONFIG_IWLWIFI_P2P
enabled
\n
"
);
#else
"
disabled
\n
"
);
IWL_INFO
(
priv
,
"CONFIG_IWLWIFI_P2P
disabled
\n
"
);
#endif
}
...
...
@@ -1569,8 +1569,7 @@ static struct iwl_op_mode *iwl_op_mode_dvm_start(struct iwl_trans *trans,
SET_IEEE80211_DEV
(
priv
->
hw
,
priv
->
trans
->
dev
);
/* show what debugging capabilities we have */
iwl_debug_config
(
priv
);
iwl_option_config
(
priv
);
IWL_DEBUG_INFO
(
priv
,
"*** LOAD DRIVER ***
\n
"
);
...
...
drivers/net/wireless/iwlwifi/iwl-agn.h
浏览文件 @
07d3c15a
...
...
@@ -523,7 +523,7 @@ static inline const char *iwl_dvm_get_cmd_string(u8 cmd)
void
iwl_setup_deferred_work
(
struct
iwl_priv
*
priv
);
int
iwl_send_wimax_coex
(
struct
iwl_priv
*
priv
);
int
iwl_send_bt_env
(
struct
iwl_priv
*
priv
,
u8
action
,
u8
type
);
void
iwl_
debug
_config
(
struct
iwl_priv
*
priv
);
void
iwl_
option
_config
(
struct
iwl_priv
*
priv
);
void
iwl_set_hw_params
(
struct
iwl_priv
*
priv
);
void
iwl_init_context
(
struct
iwl_priv
*
priv
,
u32
ucode_flags
);
int
iwl_init_drv
(
struct
iwl_priv
*
priv
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录