2015-12-02 22:24:46 +00:00
|
|
|
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
|
|
|
|
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
|
2017-07-31 19:03:37 +00:00
|
|
|
@@ -77,6 +77,8 @@ static struct board_info __initdata boar
|
|
|
|
|
2015-12-02 22:24:46 +00:00
|
|
|
.has_enet0 = 1,
|
|
|
|
.enet0 = {
|
|
|
|
+ .has_phy = 1,
|
|
|
|
+ .phy_id = 0,
|
|
|
|
.force_speed_100 = 1,
|
|
|
|
.force_duplex_full = 1,
|
|
|
|
},
|
2017-07-31 19:03:37 +00:00
|
|
|
@@ -90,6 +92,8 @@ static struct board_info __initdata boar
|
|
|
|
|
2015-12-02 22:24:46 +00:00
|
|
|
.has_enet0 = 1,
|
|
|
|
.enet0 = {
|
|
|
|
+ .has_phy = 1,
|
|
|
|
+ .phy_id = 0,
|
|
|
|
.force_speed_100 = 1,
|
|
|
|
.force_duplex_full = 1,
|
|
|
|
},
|
2017-07-31 19:03:37 +00:00
|
|
|
@@ -138,6 +142,8 @@ static struct board_info __initdata boar
|
2015-12-02 22:24:46 +00:00
|
|
|
.use_internal_phy = 1,
|
|
|
|
},
|
|
|
|
.enet1 = {
|
|
|
|
+ .has_phy = 1,
|
|
|
|
+ .phy_id = 0,
|
|
|
|
.force_speed_100 = 1,
|
|
|
|
.force_duplex_full = 1,
|
|
|
|
},
|
2017-07-31 19:03:37 +00:00
|
|
|
@@ -170,6 +176,8 @@ static struct board_info __initdata boar
|
2015-12-02 22:24:46 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
.enet1 = {
|
|
|
|
+ .has_phy = 1,
|
|
|
|
+ .phy_id = 0,
|
|
|
|
.force_speed_100 = 1,
|
|
|
|
.force_duplex_full = 1,
|
|
|
|
},
|
2017-07-31 19:03:37 +00:00
|
|
|
@@ -194,6 +202,8 @@ static struct board_info __initdata boar
|
2015-12-02 22:24:46 +00:00
|
|
|
.use_internal_phy = 1,
|
|
|
|
},
|
|
|
|
.enet1 = {
|
|
|
|
+ .has_phy = 1,
|
|
|
|
+ .phy_id = 0,
|
|
|
|
.force_speed_100 = 1,
|
|
|
|
.force_duplex_full = 1,
|
|
|
|
},
|
2017-07-31 19:03:37 +00:00
|
|
|
@@ -224,6 +234,8 @@ static struct board_info __initdata boar
|
2015-12-02 22:24:46 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
.enet1 = {
|
|
|
|
+ .has_phy = 1,
|
|
|
|
+ .phy_id = 0,
|
|
|
|
.force_speed_100 = 1,
|
|
|
|
.force_duplex_full = 1,
|
|
|
|
},
|
2017-07-31 19:03:37 +00:00
|
|
|
@@ -247,6 +259,8 @@ static struct board_info __initdata boar
|
2015-12-02 22:24:46 +00:00
|
|
|
.use_internal_phy = 1,
|
|
|
|
},
|
|
|
|
.enet1 = {
|
|
|
|
+ .has_phy = 1,
|
|
|
|
+ .phy_id = 0,
|
|
|
|
.force_speed_100 = 1,
|
|
|
|
.force_duplex_full = 1,
|
|
|
|
},
|
2017-07-31 19:03:37 +00:00
|
|
|
@@ -268,6 +282,8 @@ static struct board_info __initdata boar
|
2015-12-02 22:24:46 +00:00
|
|
|
.use_internal_phy = 1,
|
|
|
|
},
|
|
|
|
.enet1 = {
|
2017-07-31 19:03:37 +00:00
|
|
|
+ .has_phy = 1,
|
|
|
|
+ .phy_id = 0,
|
|
|
|
.force_speed_100 = 1,
|
|
|
|
.force_duplex_full = 1,
|
|
|
|
},
|
|
|
|
@@ -287,6 +303,8 @@ static struct board_info __initdata boar
|
2015-12-02 22:24:46 +00:00
|
|
|
.use_internal_phy = 1,
|
|
|
|
},
|
|
|
|
.enet1 = {
|
|
|
|
+ .has_phy = 1,
|
|
|
|
+ .phy_id = 0,
|
|
|
|
.force_speed_100 = 1,
|
|
|
|
.force_duplex_full = 1,
|
|
|
|
},
|
2017-07-31 19:03:37 +00:00
|
|
|
@@ -314,6 +332,8 @@ static struct board_info __initdata boar
|
2015-12-02 22:24:46 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
.enet1 = {
|
|
|
|
+ .has_phy = 1,
|
|
|
|
+ .phy_id = 0,
|
|
|
|
.force_speed_100 = 1,
|
|
|
|
.force_duplex_full = 1,
|
|
|
|
},
|
2017-07-31 19:03:37 +00:00
|
|
|
@@ -339,6 +359,8 @@ static struct board_info __initdata boar
|
2015-12-02 22:24:46 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
.enet1 = {
|
|
|
|
+ .has_phy = 1,
|
|
|
|
+ .phy_id = 0,
|
|
|
|
.force_speed_100 = 1,
|
|
|
|
.force_duplex_full = 1,
|
|
|
|
},
|
2017-07-31 19:03:37 +00:00
|
|
|
@@ -364,6 +386,8 @@ static struct board_info __initdata boar
|
2015-12-02 22:24:46 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
.enet1 = {
|
|
|
|
+ .has_phy = 1,
|
|
|
|
+ .phy_id = 0,
|
|
|
|
.force_speed_100 = 1,
|
|
|
|
.force_duplex_full = 1,
|
|
|
|
},
|
2017-07-31 19:03:37 +00:00
|
|
|
@@ -387,6 +411,8 @@ static struct board_info __initdata boar
|
2015-12-02 22:24:46 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
.enet1 = {
|
|
|
|
+ .has_phy = 1,
|
|
|
|
+ .phy_id = 0,
|
|
|
|
.force_speed_100 = 1,
|
|
|
|
.force_duplex_full = 1,
|
|
|
|
},
|