Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
67093a65
cloud-kernel
项目概览
openanolis
/
cloud-kernel
1 年多 前同步成功
通知
163
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看板
提交
67093a65
编写于
2月 01, 2006
作者:
D
Danny van Dyk
提交者:
John W. Linville
3月 27, 2006
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[PATCH] Sync bcm43xx_phy_initb6() with specs
Signed-off-by:
N
John W. Linville
<
linville@tuxdriver.com
>
上级
8fa252d0
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
12 addition
and
6 deletion
+12
-6
drivers/net/wireless/bcm43xx/bcm43xx_phy.c
drivers/net/wireless/bcm43xx/bcm43xx_phy.c
+10
-5
drivers/net/wireless/bcm43xx/bcm43xx_radio.c
drivers/net/wireless/bcm43xx/bcm43xx_radio.c
+1
-1
drivers/net/wireless/bcm43xx/bcm43xx_radio.h
drivers/net/wireless/bcm43xx/bcm43xx_radio.h
+1
-0
未找到文件。
drivers/net/wireless/bcm43xx/bcm43xx_phy.c
浏览文件 @
67093a65
...
@@ -947,7 +947,7 @@ static void bcm43xx_phy_initb6(struct bcm43xx_private *bcm)
...
@@ -947,7 +947,7 @@ static void bcm43xx_phy_initb6(struct bcm43xx_private *bcm)
bcm43xx_radio_write16
(
bcm
,
0x0050
,
0x0020
);
bcm43xx_radio_write16
(
bcm
,
0x0050
,
0x0020
);
if
((
bcm
->
current_core
->
radio
->
manufact
==
0x17F
)
&&
if
((
bcm
->
current_core
->
radio
->
manufact
==
0x17F
)
&&
(
bcm
->
current_core
->
radio
->
version
==
0x2050
)
&&
(
bcm
->
current_core
->
radio
->
version
==
0x2050
)
&&
(
bcm
->
current_core
->
radio
->
revision
=
=
2
))
{
(
bcm
->
current_core
->
radio
->
revision
<
=
2
))
{
bcm43xx_radio_write16
(
bcm
,
0x0050
,
0x0020
);
bcm43xx_radio_write16
(
bcm
,
0x0050
,
0x0020
);
bcm43xx_radio_write16
(
bcm
,
0x005A
,
0x0070
);
bcm43xx_radio_write16
(
bcm
,
0x005A
,
0x0070
);
bcm43xx_radio_write16
(
bcm
,
0x005B
,
0x007B
);
bcm43xx_radio_write16
(
bcm
,
0x005B
,
0x007B
);
...
@@ -984,10 +984,15 @@ static void bcm43xx_phy_initb6(struct bcm43xx_private *bcm)
...
@@ -984,10 +984,15 @@ static void bcm43xx_phy_initb6(struct bcm43xx_private *bcm)
bcm43xx_write16
(
bcm
,
0x03E4
,
0x0009
);
bcm43xx_write16
(
bcm
,
0x03E4
,
0x0009
);
if
(
phy
->
type
==
BCM43xx_PHYTYPE_B
)
{
if
(
phy
->
type
==
BCM43xx_PHYTYPE_B
)
{
bcm43xx_write16
(
bcm
,
0x03E6
,
0x8140
);
bcm43xx_write16
(
bcm
,
0x03E6
,
0x8140
);
bcm43xx_phy_write
(
bcm
,
0x0016
,
0x5410
);
bcm43xx_phy_write
(
bcm
,
0x0016
,
0x0410
);
bcm43xx_phy_write
(
bcm
,
0x0017
,
0xA820
);
bcm43xx_phy_write
(
bcm
,
0x0017
,
0x0820
);
bcm43xx_phy_write
(
bcm
,
0x0007
,
0x0062
);
bcm43xx_phy_write
(
bcm
,
0x0062
,
0x0007
);
TODO
();
//TODO: calibrate stuff.
(
void
)
bcm43xx_radio_calibrationvalue
(
bcm
);
bcm43xx_phy_lo_b_measure
(
bcm
);
if
(
bcm
->
sprom
.
boardflags
&
BCM43xx_BFL_RSSI
)
{
bcm43xx_calc_nrssi_slope
(
bcm
);
bcm43xx_calc_nrssi_threshold
(
bcm
);
}
bcm43xx_phy_init_pctl
(
bcm
);
bcm43xx_phy_init_pctl
(
bcm
);
}
else
}
else
bcm43xx_write16
(
bcm
,
0x03E6
,
0x0
);
bcm43xx_write16
(
bcm
,
0x03E6
,
0x0
);
...
...
drivers/net/wireless/bcm43xx/bcm43xx_radio.c
浏览文件 @
67093a65
...
@@ -1184,7 +1184,7 @@ int bcm43xx_radio_set_interference_mitigation(struct bcm43xx_private *bcm,
...
@@ -1184,7 +1184,7 @@ int bcm43xx_radio_set_interference_mitigation(struct bcm43xx_private *bcm,
return
0
;
return
0
;
}
}
static
u16
bcm43xx_radio_calibrationvalue
(
struct
bcm43xx_private
*
bcm
)
u16
bcm43xx_radio_calibrationvalue
(
struct
bcm43xx_private
*
bcm
)
{
{
u16
reg
,
index
,
ret
;
u16
reg
,
index
,
ret
;
...
...
drivers/net/wireless/bcm43xx/bcm43xx_radio.h
浏览文件 @
67093a65
...
@@ -89,5 +89,6 @@ void bcm43xx_nrssi_hw_update(struct bcm43xx_private *bcm, u16 val);
...
@@ -89,5 +89,6 @@ void bcm43xx_nrssi_hw_update(struct bcm43xx_private *bcm, u16 val);
void
bcm43xx_nrssi_mem_update
(
struct
bcm43xx_private
*
bcm
);
void
bcm43xx_nrssi_mem_update
(
struct
bcm43xx_private
*
bcm
);
void
bcm43xx_radio_set_tx_iq
(
struct
bcm43xx_private
*
bcm
);
void
bcm43xx_radio_set_tx_iq
(
struct
bcm43xx_private
*
bcm
);
u16
bcm43xx_radio_calibrationvalue
(
struct
bcm43xx_private
*
bcm
);
#endif
/* BCM43xx_RADIO_H_ */
#endif
/* BCM43xx_RADIO_H_ */
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录