Openwrt/target/linux/bcm63xx/patches-5.10/427-boards_probe_switch.patch
Álvaro Fernández Rojas f323dec4f8 bcm63xx: add kernel 5.10 support
Runtime-tested on Comtrend AR-5387un.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2021-02-17 20:40:16 +01:00

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,
},