OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Only display areas with differencesIgnore whitespace
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 @@ -426,6 +426,25 @@ static struct board_info __initdata boar 3 @@ -426,6 +426,25 @@ static struct board_info __initdata boar
4 .force_duplex_full = 1, 4 .force_duplex_full = 1,
5 }, 5 },
6 }; 6 };
7 + 7 +
8 +// Actually this board is the very same as the rta770bw, 8 +// Actually this board is the very same as the rta770bw,
9 +// where the additional 'b' within the name just 9 +// where the additional 'b' within the name just
10 +// just indicates 'Annex B'. The ADSL Modem itself is able 10 +// just indicates 'Annex B'. The ADSL Modem itself is able
11 +// to handle both Annex A as well as Annex B - 11 +// to handle both Annex A as well as Annex B -
12 +// the loaded firmware makes the only difference 12 +// the loaded firmware makes the only difference
13 +static struct board_info __initdata board_rta770w = { 13 +static struct board_info __initdata board_rta770w = {
14 + .name = "RTA770W", 14 + .name = "RTA770W",
15 + .expected_cpu_id = 0x6345, 15 + .expected_cpu_id = 0x6345,
16 + 16 +
17 + .has_enet0 = 1, 17 + .has_enet0 = 1,
18 + 18 +
19 + .enet0 = { 19 + .enet0 = {
20 + .has_phy = 1, 20 + .has_phy = 1,
21 + .phy_id = 0, 21 + .phy_id = 0,
22 + .force_speed_100 = 1, 22 + .force_speed_100 = 1,
23 + .force_duplex_full = 1, 23 + .force_duplex_full = 1,
24 + }, 24 + },
25 +}; 25 +};
26 #endif /* CONFIG_BCM63XX_CPU_6345 */ 26 #endif /* CONFIG_BCM63XX_CPU_6345 */
27 27
28 /* 28 /*
29 @@ -1395,6 +1414,7 @@ static const struct board_info __initcon 29 @@ -1443,6 +1462,7 @@ static const struct board_info __initcon
30 #ifdef CONFIG_BCM63XX_CPU_6345 30 #ifdef CONFIG_BCM63XX_CPU_6345
31 &board_96345gw2, 31 &board_96345gw2,
32 &board_rta770bw, 32 &board_rta770bw,
33 + &board_rta770w, 33 + &board_rta770w,
34 #endif 34 #endif
35 #ifdef CONFIG_BCM63XX_CPU_6348 35 #ifdef CONFIG_BCM63XX_CPU_6348
36 &board_96348r, 36 &board_96348r,
37 @@ -1469,6 +1489,7 @@ static struct of_device_id const bcm963x 37 @@ -1517,6 +1537,7 @@ static struct of_device_id const bcm963x
38 #ifdef CONFIG_BCM63XX_CPU_6345 38 #ifdef CONFIG_BCM63XX_CPU_6345
39 { .compatible = "brcm,bcm96345gw2", .data = &board_96345gw2, }, 39 { .compatible = "brcm,bcm96345gw2", .data = &board_96345gw2, },
40 { .compatible = "dynalink,rta770bw", .data = &board_rta770bw, }, 40 { .compatible = "dynalink,rta770bw", .data = &board_rta770bw, },
41 + { .compatible = "dynalink,rta770w", .data = &board_rta770w, }, 41 + { .compatible = "dynalink,rta770w", .data = &board_rta770w, },
42 #endif 42 #endif
43 #ifdef CONFIG_BCM63XX_CPU_6348 43 #ifdef CONFIG_BCM63XX_CPU_6348
44 { .compatible = "belkin,f5d7633", .data = &board_96348gw_10, }, 44 { .compatible = "belkin,f5d7633", .data = &board_96348gw_10, },
45   45