projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09e06f6
)
phy layer: fix genphy_setup_forced (don't reset)
author
Domen Puncer
<domen.puncer@telargo.com>
Fri, 17 Aug 2007 06:54:45 +0000
(08:54 +0200)
committer
Jeff Garzik
<jeff@garzik.org>
Sat, 25 Aug 2007 06:31:02 +0000
(
02:31
-0400)
Writing BMCR_RESET bit will reset MII_BMCR to default values. This is
clearly not what we want.
Signed-off-by: Domen Puncer <domen.puncer@telargo.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/phy/phy_device.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/phy/phy_device.c
b/drivers/net/phy/phy_device.c
index a8b74cdab1ea2793b9f30822b416f652f883b521..e275df8c55bc64d2168ee62c0a946baf1fd4a6d2 100644
(file)
--- a/
drivers/net/phy/phy_device.c
+++ b/
drivers/net/phy/phy_device.c
@@
-364,7
+364,7
@@
EXPORT_SYMBOL(genphy_config_advert);
*/
int genphy_setup_forced(struct phy_device *phydev)
{
- int ctl =
BMCR_RESET
;
+ int ctl =
0
;
phydev->pause = phydev->asym_pause = 0;