projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7834cd5
)
r6040: Fix second PHY address
author
Florian Fainelli
<florian@openwrt.org>
Tue, 24 Mar 2009 23:34:35 +0000
(23:34 +0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 26 Mar 2009 00:19:33 +0000
(17:19 -0700)
This patch fixes the second PHY address which is strapped
to be at PHY address 3 instead of 2.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/r6040.c
patch
|
blob
|
history
diff --git
a/drivers/net/r6040.c
b/drivers/net/r6040.c
index 9c95ebe643a329f129538f352d3fe97adc8ada38..d3458efe6428949f57c350a222dd3637caed9276 100644
(file)
--- a/
drivers/net/r6040.c
+++ b/
drivers/net/r6040.c
@@
-54,7
+54,7
@@
/* PHY CHIP Address */
#define PHY1_ADDR 1 /* For MAC1 */
-#define PHY2_ADDR
2
/* For MAC2 */
+#define PHY2_ADDR
3
/* For MAC2 */
#define PHY_MODE 0x3100 /* PHY CHIP Register 0 */
#define PHY_CAP 0x01E1 /* PHY CHIP Register 4 */