projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
NET: lan91c96: Correct chip detect logic
[platform/kernel/u-boot.git]
/
drivers
/
net
/
eepro100.c
diff --git
a/drivers/net/eepro100.c
b/drivers/net/eepro100.c
index
ae0e0d4
..
86709a7
100644
(file)
--- a/
drivers/net/eepro100.c
+++ b/
drivers/net/eepro100.c
@@
-335,7
+335,7
@@
static struct eth_device* verify_phyaddr (const char *devname,
}
/* read id2 register */
- if (get_phyreg(dev, addr,
PHY_PHYIDR
2, &value) != 0) {
+ if (get_phyreg(dev, addr,
MII_PHYSID
2, &value) != 0) {
printf("%s: mii read timeout!\n", devname);
return NULL;
}