OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
1 | --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c |
1 | --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c |
|
2 | +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c |
2 | +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c |
|
3 | @@ -411,6 +411,20 @@ static struct board_info __initdata boar |
3 | @@ -411,6 +411,20 @@ static struct board_info __initdata boar |
|
4 | .name = "96345GW2", |
4 | .name = "96345GW2", |
|
5 | .expected_cpu_id = 0x6345, |
5 | .expected_cpu_id = 0x6345, |
|
6 | }; |
6 | }; |
|
7 | + |
7 | + |
|
8 | +static struct board_info __initdata board_rta770bw = { |
8 | +static struct board_info __initdata board_rta770bw = { |
|
9 | + .name = "RTA770BW", |
9 | + .name = "RTA770BW", |
|
10 | + .expected_cpu_id = 0x6345, |
10 | + .expected_cpu_id = 0x6345, |
|
11 | + |
11 | + |
|
12 | + .has_enet0 = 1, |
12 | + .has_enet0 = 1, |
|
13 | + |
13 | + |
|
14 | + .enet0 = { |
14 | + .enet0 = { |
|
15 | + .has_phy = 1, |
15 | + .has_phy = 1, |
|
16 | + .phy_id = 0, |
16 | + .phy_id = 0, |
|
17 | + .force_speed_100 = 1, |
17 | + .force_speed_100 = 1, |
|
18 | + .force_duplex_full = 1, |
18 | + .force_duplex_full = 1, |
|
19 | + }, |
19 | + }, |
|
20 | +}; |
20 | +}; |
|
21 | #endif /* CONFIG_BCM63XX_CPU_6345 */ |
21 | #endif /* CONFIG_BCM63XX_CPU_6345 */ |
|
22 | |
22 | |
|
23 | /* |
23 | /* |
|
24 | @@ -1293,6 +1307,7 @@ static const struct board_info __initcon |
24 | @@ -1341,6 +1355,7 @@ static const struct board_info __initcon |
|
25 | #endif |
25 | #endif |
|
26 | #ifdef CONFIG_BCM63XX_CPU_6345 |
26 | #ifdef CONFIG_BCM63XX_CPU_6345 |
|
27 | &board_96345gw2, |
27 | &board_96345gw2, |
|
28 | + &board_rta770bw, |
28 | + &board_rta770bw, |
|
29 | #endif |
29 | #endif |
|
30 | #ifdef CONFIG_BCM63XX_CPU_6348 |
30 | #ifdef CONFIG_BCM63XX_CPU_6348 |
|
31 | &board_96348r, |
31 | &board_96348r, |
|
32 | @@ -1363,6 +1378,7 @@ static struct of_device_id const bcm963x |
32 | @@ -1411,6 +1426,7 @@ static struct of_device_id const bcm963x |
|
33 | #endif |
33 | #endif |
|
34 | #ifdef CONFIG_BCM63XX_CPU_6345 |
34 | #ifdef CONFIG_BCM63XX_CPU_6345 |
|
35 | { .compatible = "brcm,bcm96345gw2", .data = &board_96345gw2, }, |
35 | { .compatible = "brcm,bcm96345gw2", .data = &board_96345gw2, }, |
|
36 | + { .compatible = "dynalink,rta770bw", .data = &board_rta770bw, }, |
36 | + { .compatible = "dynalink,rta770bw", .data = &board_rta770bw, }, |
|
37 | #endif |
37 | #endif |
|
38 | #ifdef CONFIG_BCM63XX_CPU_6348 |
38 | #ifdef CONFIG_BCM63XX_CPU_6348 |
|
39 | { .compatible = "belkin,f5d7633", .data = &board_96348gw_10, }, |
39 | { .compatible = "belkin,f5d7633", .data = &board_96348gw_10, }, |
|
40 | |
40 | |