projects
/
openwrt-github
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
set marvell switch ATU ageing time to minimum instead of maximum - hopefully fixes...
[openwrt-github/.git]
/
target
/
linux
/
generic-2.6
/
files-2.6.25
/
drivers
/
net
/
phy
/
mvswitch.c
diff --git
a/target/linux/generic-2.6/files-2.6.25/drivers/net/phy/mvswitch.c
b/target/linux/generic-2.6/files-2.6.25/drivers/net/phy/mvswitch.c
index f28df4398972bf7bfd336b0662e9550e1b891a3c..be9e6afd2d14fbff7ecc5ab30bd39c8e0247aa3b 100644
(file)
--- a/
target/linux/generic-2.6/files-2.6.25/drivers/net/phy/mvswitch.c
+++ b/
target/linux/generic-2.6/files-2.6.25/drivers/net/phy/mvswitch.c
@@
-246,7
+246,7
@@
mvswitch_config_init(struct phy_device *pdev)
w16(pdev, MV_SWITCHREG(ATU_CTRL),
MV_ATUCTL_RESET |
MV_ATUCTL_ATU_1K |
- MV_ATUCTL_AGETIME(
4080) /* maximum
*/
+ MV_ATUCTL_AGETIME(
MV_ATUCTL_AGETIME_MIN) /* minimum without disabling ageing
*/
);
i = 100; /* timeout */