ethernet:gmac: set PHY's address to 1 to fix ip101's issue
authorroger <cz@rock-chips.com>
Wed, 20 Aug 2014 02:57:32 +0000 (10:57 +0800)
committerroger <cz@rock-chips.com>
Wed, 20 Aug 2014 02:57:32 +0000 (10:57 +0800)
drivers/net/ethernet/rockchip/gmac/stmmac_main.c

index 70d25661dad22d483450c74bce39ebc9447af60d..89ece5c6440e38194680dda6b12bf088bc209033 100755 (executable)
@@ -90,7 +90,7 @@ static int debug = -1;
 module_param(debug, int, S_IRUGO | S_IWUSR);
 MODULE_PARM_DESC(debug, "Message Level (-1: default, 0: no output, 16: all)");
 
-int phyaddr = -1;
+int phyaddr = 1;
 module_param(phyaddr, int, S_IRUGO);
 MODULE_PARM_DESC(phyaddr, "Physical device address");