Skip to content

Commit

Permalink
r6040: Fix second PHY address
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Florian Fainelli authored and David S. Miller committed Mar 26, 2009
1 parent 7834cd5 commit 2a30ca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/r6040.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand Down

0 comments on commit 2a30ca8

Please sign in to comment.