mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 08:21:14 +00:00
f323dec4f8
Runtime-tested on Comtrend AR-5387un. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
120 lines
2.4 KiB
Diff
120 lines
2.4 KiB
Diff
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
|
|
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
|
|
@@ -74,6 +74,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,
|
|
},
|
|
@@ -85,6 +87,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,
|
|
},
|
|
@@ -136,6 +140,8 @@ static struct board_info __initdata boar
|
|
|
|
.has_enet1 = 1,
|
|
.enet1 = {
|
|
+ .has_phy = 1,
|
|
+ .phy_id = 0,
|
|
.force_speed_100 = 1,
|
|
.force_duplex_full = 1,
|
|
},
|
|
@@ -158,6 +164,8 @@ static struct board_info __initdata boar
|
|
|
|
.has_enet1 = 1,
|
|
.enet1 = {
|
|
+ .has_phy = 1,
|
|
+ .phy_id = 0,
|
|
.force_speed_100 = 1,
|
|
.force_duplex_full = 1,
|
|
},
|
|
@@ -179,6 +187,8 @@ static struct board_info __initdata boar
|
|
|
|
.has_enet1 = 1,
|
|
.enet1 = {
|
|
+ .has_phy = 1,
|
|
+ .phy_id = 0,
|
|
.force_speed_100 = 1,
|
|
.force_duplex_full = 1,
|
|
},
|
|
@@ -201,6 +211,8 @@ static struct board_info __initdata boar
|
|
|
|
.has_enet1 = 1,
|
|
.enet1 = {
|
|
+ .has_phy = 1,
|
|
+ .phy_id = 0,
|
|
.force_speed_100 = 1,
|
|
.force_duplex_full = 1,
|
|
},
|
|
@@ -221,6 +233,8 @@ static struct board_info __initdata boar
|
|
|
|
.has_enet1 = 1,
|
|
.enet1 = {
|
|
+ .has_phy = 1,
|
|
+ .phy_id = 0,
|
|
.force_speed_100 = 1,
|
|
.force_duplex_full = 1,
|
|
},
|
|
@@ -242,6 +256,8 @@ static struct board_info __initdata boar
|
|
|
|
.has_enet1 = 1,
|
|
.enet1 = {
|
|
+ .has_phy = 1,
|
|
+ .phy_id = 0,
|
|
.force_speed_100 = 1,
|
|
.force_duplex_full = 1,
|
|
},
|
|
@@ -263,6 +279,8 @@ static struct board_info __initdata boar
|
|
|
|
.has_enet1 = 1,
|
|
.enet1 = {
|
|
+ .has_phy = 1,
|
|
+ .phy_id = 0,
|
|
.force_speed_100 = 1,
|
|
.force_duplex_full = 1,
|
|
},
|
|
@@ -291,6 +309,8 @@ static struct board_info __initdata boar
|
|
|
|
.has_enet1 = 1,
|
|
.enet1 = {
|
|
+ .has_phy = 1,
|
|
+ .phy_id = 0,
|
|
.force_speed_100 = 1,
|
|
.force_duplex_full = 1,
|
|
},
|
|
@@ -315,6 +335,8 @@ static struct board_info __initdata boar
|
|
|
|
.has_enet1 = 1,
|
|
.enet1 = {
|
|
+ .has_phy = 1,
|
|
+ .phy_id = 0,
|
|
.force_speed_100 = 1,
|
|
.force_duplex_full = 1,
|
|
},
|
|
@@ -336,6 +358,8 @@ static struct board_info __initdata boar
|
|
|
|
.has_enet1 = 1,
|
|
.enet1 = {
|
|
+ .has_phy = 1,
|
|
+ .phy_id = 0,
|
|
.force_speed_100 = 1,
|
|
.force_duplex_full = 1,
|
|
},
|
|
@@ -358,6 +382,8 @@ static struct board_info __initdata boar
|
|
|
|
.has_enet1 = 1,
|
|
.enet1 = {
|
|
+ .has_phy = 1,
|
|
+ .phy_id = 0,
|
|
.force_speed_100 = 1,
|
|
.force_duplex_full = 1,
|
|
},
|