projects
/
openwrt-10.03
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix link status detection in various switch drivers
[openwrt-10.03/.git]
/
target
/
linux
/
generic-2.6
/
files
/
drivers
/
net
/
phy
/
rtl8306.c
diff --git
a/target/linux/generic-2.6/files/drivers/net/phy/rtl8306.c
b/target/linux/generic-2.6/files/drivers/net/phy/rtl8306.c
index eba0babe28ed4460e857c43188ea8429964f47d0..259ff5006fb0e5bd158b41568324bb0e57d92ede 100644
(file)
--- a/
target/linux/generic-2.6/files/drivers/net/phy/rtl8306.c
+++ b/
target/linux/generic-2.6/files/drivers/net/phy/rtl8306.c
@@
-954,7
+954,7
@@
rtl8306_read_status(struct phy_device *pdev)
{
pdev->speed = SPEED_100;
pdev->duplex = DUPLEX_FULL;
- pdev->
state = PHY_UP
;
+ pdev->
link = 1
;
return 0;
}