mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 09:39:00 +00:00
8630d101b7
Move defines and board_info structs back to their proper locations so (de-)selecting SOC support won't break the build. Reported-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 41550
120 lines
2.5 KiB
Diff
120 lines
2.5 KiB
Diff
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
|
|
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
|
|
@@ -613,6 +613,8 @@ static struct board_info __initdata boar
|
|
.has_uart0 = 1,
|
|
.has_enet0 = 1,
|
|
.enet0 = {
|
|
+ .has_phy = 1,
|
|
+ .phy_id = 0,
|
|
.force_speed_100 = 1,
|
|
.force_duplex_full = 1,
|
|
},
|
|
@@ -656,6 +658,8 @@ static struct board_info __initdata boar
|
|
.has_uart0 = 1,
|
|
.has_enet0 = 1,
|
|
.enet0 = {
|
|
+ .has_phy = 1,
|
|
+ .phy_id = 0,
|
|
.force_speed_100 = 1,
|
|
.force_duplex_full = 1,
|
|
},
|
|
@@ -941,6 +945,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,
|
|
},
|
|
@@ -1013,6 +1019,8 @@ static struct board_info __initdata boar
|
|
},
|
|
|
|
.enet1 = {
|
|
+ .has_phy = 1,
|
|
+ .phy_id = 0,
|
|
.force_speed_100 = 1,
|
|
.force_duplex_full = 1,
|
|
},
|
|
@@ -1242,6 +1250,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,
|
|
},
|
|
@@ -1417,6 +1427,8 @@ static struct board_info __initdata boar
|
|
},
|
|
|
|
.enet1 = {
|
|
+ .has_phy = 1,
|
|
+ .phy_id = 0,
|
|
.force_speed_100 = 1,
|
|
.force_duplex_full = 1,
|
|
},
|
|
@@ -1607,6 +1619,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,
|
|
},
|
|
@@ -1628,6 +1642,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,
|
|
},
|
|
@@ -1647,6 +1663,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,6 +2036,8 @@ static struct board_info __initdata boar
|
|
},
|
|
|
|
.enet1 = {
|
|
+ .has_phy = 1,
|
|
+ .phy_id = 0,
|
|
.force_speed_100 = 1,
|
|
.force_duplex_full = 1,
|
|
},
|
|
@@ -2070,6 +2090,8 @@ static struct board_info __initdata boar
|
|
},
|
|
|
|
.enet1 = {
|
|
+ .has_phy = 1,
|
|
+ .phy_id = 0,
|
|
.force_speed_100 = 1,
|
|
.force_duplex_full = 1,
|
|
},
|
|
@@ -2211,6 +2233,8 @@ static struct board_info __initdata boar
|
|
},
|
|
|
|
.enet1 = {
|
|
+ .has_phy = 1,
|
|
+ .phy_id = 0,
|
|
.force_speed_100 = 1,
|
|
.force_duplex_full = 1,
|
|
},
|
|
@@ -2328,6 +2352,8 @@ static struct board_info __initdata boar
|
|
},
|
|
|
|
.enet1 = {
|
|
+ .has_phy = 1,
|
|
+ .phy_id = 0,
|
|
.force_speed_100 = 1,
|
|
.force_duplex_full = 1,
|
|
},
|