projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91525c6
)
Cleanup: use constant
author
Niklaus Giger
<niklaus.giger@netstal.com>
Wed, 23 Sep 2009 06:12:14 +0000
(08:12 +0200)
committer
Wolfgang Denk
<wd@denx.de>
Sun, 18 Oct 2009 20:41:33 +0000
(22:41 +0200)
Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
common/miiphyutil.c
patch
|
blob
|
history
diff --git
a/common/miiphyutil.c
b/common/miiphyutil.c
index 66fd9cad8725b067ce9427500020232c2e72813f..196ef4a7ba54e6754a9853a338fd7b7b8b9fb3d2 100644
(file)
--- a/
common/miiphyutil.c
+++ b/
common/miiphyutil.c
@@
-299,7
+299,7
@@
int miiphy_reset (char *devname, unsigned char addr)
debug ("PHY status read failed\n");
return (-1);
}
- if (miiphy_write (devname, addr, PHY_BMCR, reg |
0x8000
) != 0) {
+ if (miiphy_write (devname, addr, PHY_BMCR, reg |
PHY_BMCR_RESET
) != 0) {
debug ("PHY reset failed\n");
return (-1);
}