2018-01-13 17:43:32 +00:00
|
|
|
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
|
|
|
|
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
|
|
|
|
@@ -77,6 +77,8 @@ static struct board_info __initdata boar
|
|
|
|
|
|
|
|
.has_enet0 = 1,
|
|
|
|
.enet0 = {
|
|
|
|
+ .has_phy = 1,
|
|
|
|
+ .phy_id = 0,
|
|
|
|
.force_speed_100 = 1,
|
|
|
|
.force_duplex_full = 1,
|
|
|
|
},
|
|
|
|
@@ -90,6 +92,8 @@ static struct board_info __initdata boar
|
|
|
|
|
|
|
|
.has_enet0 = 1,
|
|
|
|
.enet0 = {
|
|
|
|
+ .has_phy = 1,
|
|
|
|
+ .phy_id = 0,
|
|
|
|
.force_speed_100 = 1,
|
|
|
|
.force_duplex_full = 1,
|
|
|
|
},
|
|
|
|
@@ -138,6 +142,8 @@ static struct board_info __initdata boar
|
|
|
|
.use_internal_phy = 1,
|
|
|
|
},
|
|
|
|
.enet1 = {
|
|
|
|
+ .has_phy = 1,
|
|
|
|
+ .phy_id = 0,
|
|
|
|
.force_speed_100 = 1,
|
|
|
|
.force_duplex_full = 1,
|
|
|
|
},
|
2018-12-19 23:02:31 +00:00
|
|
|
@@ -162,6 +168,8 @@ static struct board_info __initdata boar
|
2018-01-13 17:43:32 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
.enet1 = {
|
|
|
|
+ .has_phy = 1,
|
|
|
|
+ .phy_id = 0,
|
|
|
|
.force_speed_100 = 1,
|
|
|
|
.force_duplex_full = 1,
|
|
|
|
},
|
2018-12-19 23:02:31 +00:00
|
|
|
@@ -186,6 +194,8 @@ static struct board_info __initdata boar
|
2018-01-13 17:43:32 +00:00
|
|
|
.use_internal_phy = 1,
|
|
|
|
},
|
|
|
|
.enet1 = {
|
|
|
|
+ .has_phy = 1,
|
|
|
|
+ .phy_id = 0,
|
|
|
|
.force_speed_100 = 1,
|
|
|
|
.force_duplex_full = 1,
|
|
|
|
},
|
2018-12-19 23:02:31 +00:00
|
|
|
@@ -208,6 +218,8 @@ static struct board_info __initdata boar
|
2018-01-13 17:43:32 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
.enet1 = {
|
|
|
|
+ .has_phy = 1,
|
|
|
|
+ .phy_id = 0,
|
|
|
|
.force_speed_100 = 1,
|
|
|
|
.force_duplex_full = 1,
|
|
|
|
},
|
2018-12-19 23:02:31 +00:00
|
|
|
@@ -231,6 +243,8 @@ static struct board_info __initdata boar
|
2018-01-13 17:43:32 +00:00
|
|
|
.use_internal_phy = 1,
|
|
|
|
},
|
|
|
|
.enet1 = {
|
|
|
|
+ .has_phy = 1,
|
|
|
|
+ .phy_id = 0,
|
|
|
|
.force_speed_100 = 1,
|
|
|
|
.force_duplex_full = 1,
|
|
|
|
},
|
2018-12-19 23:02:31 +00:00
|
|
|
@@ -252,6 +266,8 @@ static struct board_info __initdata boar
|
2018-01-13 17:43:32 +00:00
|
|
|
.use_internal_phy = 1,
|
|
|
|
},
|
|
|
|
.enet1 = {
|
|
|
|
+ .has_phy = 1,
|
|
|
|
+ .phy_id = 0,
|
|
|
|
.force_speed_100 = 1,
|
|
|
|
.force_duplex_full = 1,
|
|
|
|
},
|
2018-12-19 23:02:31 +00:00
|
|
|
@@ -271,6 +287,8 @@ static struct board_info __initdata boar
|
2018-01-13 17:43:32 +00:00
|
|
|
.use_internal_phy = 1,
|
|
|
|
},
|
|
|
|
.enet1 = {
|
|
|
|
+ .has_phy = 1,
|
|
|
|
+ .phy_id = 0,
|
|
|
|
.force_speed_100 = 1,
|
|
|
|
.force_duplex_full = 1,
|
|
|
|
},
|
2018-12-19 23:02:31 +00:00
|
|
|
@@ -298,6 +316,8 @@ static struct board_info __initdata boar
|
2018-01-13 17:43:32 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
.enet1 = {
|
|
|
|
+ .has_phy = 1,
|
|
|
|
+ .phy_id = 0,
|
|
|
|
.force_speed_100 = 1,
|
|
|
|
.force_duplex_full = 1,
|
|
|
|
},
|
2018-12-19 23:02:31 +00:00
|
|
|
@@ -323,6 +343,8 @@ static struct board_info __initdata boar
|
2018-01-13 17:43:32 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
.enet1 = {
|
|
|
|
+ .has_phy = 1,
|
|
|
|
+ .phy_id = 0,
|
|
|
|
.force_speed_100 = 1,
|
|
|
|
.force_duplex_full = 1,
|
|
|
|
},
|
2018-12-19 23:02:31 +00:00
|
|
|
@@ -348,6 +370,8 @@ static struct board_info __initdata boar
|
2018-01-13 17:43:32 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
.enet1 = {
|
|
|
|
+ .has_phy = 1,
|
|
|
|
+ .phy_id = 0,
|
|
|
|
.force_speed_100 = 1,
|
|
|
|
.force_duplex_full = 1,
|
|
|
|
},
|
2018-12-19 23:02:31 +00:00
|
|
|
@@ -371,6 +395,8 @@ static struct board_info __initdata boar
|
2018-01-13 17:43:32 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
.enet1 = {
|
|
|
|
+ .has_phy = 1,
|
|
|
|
+ .phy_id = 0,
|
|
|
|
.force_speed_100 = 1,
|
|
|
|
.force_duplex_full = 1,
|
|
|
|
},
|