Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
8cee0cd5
cloud-kernel
项目概览
openanolis
/
cloud-kernel
1 年多 前同步成功
通知
160
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看板
提交
8cee0cd5
编写于
9月 23, 2005
作者:
J
Jeff Garzik
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[netdrvr] delete CONFIG_PHYCONTROL
上级
bb40dcbb
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
0 addition
and
20 deletion
+0
-20
drivers/net/Kconfig
drivers/net/Kconfig
+0
-1
drivers/net/phy/Kconfig
drivers/net/phy/Kconfig
+0
-8
drivers/net/phy/phy.c
drivers/net/phy/phy.c
+0
-8
drivers/net/phy/phy_device.c
drivers/net/phy/phy_device.c
+0
-3
未找到文件。
drivers/net/Kconfig
浏览文件 @
8cee0cd5
...
...
@@ -2076,7 +2076,6 @@ config GIANFAR
tristate "Gianfar Ethernet"
depends on 85xx || 83xx
select PHYLIB
select PHYCONTROL
help
This driver supports the Gigabit TSEC on the MPC85xx
family of chips, and the FEC on the 8540
...
...
drivers/net/phy/Kconfig
浏览文件 @
8cee0cd5
...
...
@@ -12,14 +12,6 @@ config PHYLIB
devices. This option provides infrastructure for
managing PHY devices.
config PHYCONTROL
bool " Support for automatically handling PHY state changes"
depends on PHYLIB
help
Adds code to perform all the work for keeping PHY link
state (speed/duplex/etc) up-to-date. Also handles
interrupts.
comment "MII PHY device drivers"
depends on PHYLIB
...
...
drivers/net/phy/phy.c
浏览文件 @
8cee0cd5
...
...
@@ -242,10 +242,6 @@ EXPORT_SYMBOL(phy_sanitize_settings);
* choose the next best ones from the ones selected, so we don't
* care if ethtool tries to give us bad values
*
* A note about the PHYCONTROL Layer. If you turn off
* CONFIG_PHYCONTROL, you will need to read the PHY status
* registers after this function completes, and update your
* controller manually.
*/
int
phy_ethtool_sset
(
struct
phy_device
*
phydev
,
struct
ethtool_cmd
*
cmd
)
{
...
...
@@ -380,7 +376,6 @@ int phy_start_aneg(struct phy_device *phydev)
err
=
phydev
->
drv
->
config_aneg
(
phydev
);
#ifdef CONFIG_PHYCONTROL
if
(
err
<
0
)
goto
out_unlock
;
...
...
@@ -395,14 +390,12 @@ int phy_start_aneg(struct phy_device *phydev)
}
out_unlock:
#endif
spin_unlock
(
&
phydev
->
lock
);
return
err
;
}
EXPORT_SYMBOL
(
phy_start_aneg
);
#ifdef CONFIG_PHYCONTROL
static
void
phy_change
(
void
*
data
);
static
void
phy_timer
(
unsigned
long
data
);
...
...
@@ -868,4 +861,3 @@ static void phy_timer(unsigned long data)
mod_timer
(
&
phydev
->
phy_timer
,
jiffies
+
PHY_STATE_TIME
*
HZ
);
}
#endif
/* CONFIG_PHYCONTROL */
drivers/net/phy/phy_device.c
浏览文件 @
8cee0cd5
...
...
@@ -101,7 +101,6 @@ struct phy_device * get_phy_device(struct mii_bus *bus, int addr)
return
dev
;
}
#ifdef CONFIG_PHYCONTROL
/* phy_prepare_link:
*
* description: Tells the PHY infrastructure to handle the
...
...
@@ -160,8 +159,6 @@ void phy_disconnect(struct phy_device *phydev)
}
EXPORT_SYMBOL
(
phy_disconnect
);
#endif
/* CONFIG_PHYCONTROL */
/* phy_attach:
*
* description: Called by drivers to attach to a particular PHY
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录