tn3399_openwrt/target/linux/bcm63xx/patches-5.15/427-boards_probe_switch.patch
Álvaro Fernández Rojas 2317a7426e bcm63xx: add linux v5.15 support
Build system: x86_64
Build-tested: generic, smp
Run-tested: generic/AR-5387un, smp/VR-3032u

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2022-05-20 15:53:16 +02: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,
},