mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 06:33:41 +00:00
2bab3e2796
Move compatible strings from board structs into separate table. This allows for several board compatibles to match to the same board in case e.g. only the flash size / partitions differ. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 43341
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
|
|
@@ -789,6 +789,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,
|
|
},
|
|
@@ -832,6 +834,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,
|
|
},
|
|
@@ -1119,6 +1123,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,
|
|
},
|
|
@@ -1192,6 +1198,8 @@ static struct board_info __initdata boar
|
|
},
|
|
|
|
.enet1 = {
|
|
+ .has_phy = 1,
|
|
+ .phy_id = 0,
|
|
.force_speed_100 = 1,
|
|
.force_duplex_full = 1,
|
|
},
|
|
@@ -1470,6 +1478,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,
|
|
},
|
|
@@ -1646,6 +1656,8 @@ static struct board_info __initdata boar
|
|
},
|
|
|
|
.enet1 = {
|
|
+ .has_phy = 1,
|
|
+ .phy_id = 0,
|
|
.force_speed_100 = 1,
|
|
.force_duplex_full = 1,
|
|
},
|
|
@@ -1721,6 +1733,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,
|
|
},
|
|
@@ -1743,6 +1757,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,
|
|
},
|
|
@@ -1763,6 +1779,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,
|
|
},
|
|
@@ -2116,6 +2134,8 @@ static struct board_info __initdata boar
|
|
},
|
|
|
|
.enet1 = {
|
|
+ .has_phy = 1,
|
|
+ .phy_id = 0,
|
|
.force_speed_100 = 1,
|
|
.force_duplex_full = 1,
|
|
},
|
|
@@ -2169,6 +2189,8 @@ static struct board_info __initdata boar
|
|
},
|
|
|
|
.enet1 = {
|
|
+ .has_phy = 1,
|
|
+ .phy_id = 0,
|
|
.force_speed_100 = 1,
|
|
.force_duplex_full = 1,
|
|
},
|
|
@@ -2310,6 +2332,8 @@ static struct board_info __initdata boar
|
|
},
|
|
|
|
.enet1 = {
|
|
+ .has_phy = 1,
|
|
+ .phy_id = 0,
|
|
.force_speed_100 = 1,
|
|
.force_duplex_full = 1,
|
|
},
|
|
@@ -2428,6 +2452,8 @@ static struct board_info __initdata boar
|
|
},
|
|
|
|
.enet1 = {
|
|
+ .has_phy = 1,
|
|
+ .phy_id = 0,
|
|
.force_speed_100 = 1,
|
|
.force_duplex_full = 1,
|
|
},
|