diff options
author | Florian Fainelli <florian@openwrt.org> | 2009-03-24 19:34:35 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-25 20:19:33 -0400 |
commit | 2a30ca8b1ec0e3c9b4a77113d5e8648b2fd56cae (patch) | |
tree | a44600576c59265eb044f83fae33f044413ef69b /drivers/net/r6040.c | |
parent | 7834cd5ae145c9a74d284cef073b96ee5f7f2295 (diff) |
r6040: Fix second PHY address
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>
Diffstat (limited to 'drivers/net/r6040.c')
-rw-r--r-- | drivers/net/r6040.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/r6040.c b/drivers/net/r6040.c index 9c95ebe643a3..d3458efe6428 100644 --- a/drivers/net/r6040.c +++ b/drivers/net/r6040.c | |||
@@ -54,7 +54,7 @@ | |||
54 | 54 | ||
55 | /* PHY CHIP Address */ | 55 | /* PHY CHIP Address */ |
56 | #define PHY1_ADDR 1 /* For MAC1 */ | 56 | #define PHY1_ADDR 1 /* For MAC1 */ |
57 | #define PHY2_ADDR 2 /* For MAC2 */ | 57 | #define PHY2_ADDR 3 /* For MAC2 */ |
58 | #define PHY_MODE 0x3100 /* PHY CHIP Register 0 */ | 58 | #define PHY_MODE 0x3100 /* PHY CHIP Register 0 */ |
59 | #define PHY_CAP 0x01E1 /* PHY CHIP Register 4 */ | 59 | #define PHY_CAP 0x01E1 /* PHY CHIP Register 4 */ |
60 | 60 | ||