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 @@ -937,6 +937,35 @@ static struct board_info __initdata boar 3 @@ -985,6 +985,35 @@ static struct board_info __initdata boar
4 .use_internal_phy = 1, 4 .use_internal_phy = 1,
5 }, 5 },
6 }; 6 };
7 + 7 +
8 +/* D-Link DVA-G3810BN/TL */ 8 +/* D-Link DVA-G3810BN/TL */
9 +static struct board_info __initdata board_DVAG3810BN = { 9 +static struct board_info __initdata board_DVAG3810BN = {
10 + .name = "DVAG3810BN", 10 + .name = "DVAG3810BN",
11 + .expected_cpu_id = 0x6358, 11 + .expected_cpu_id = 0x6358,
12 + 12 +
13 + .has_enet0 = 1, 13 + .has_enet0 = 1,
14 + .has_enet1 = 1, 14 + .has_enet1 = 1,
15 + .has_pci = 1, 15 + .has_pci = 1,
16 + 16 +
17 + .enet0 = { 17 + .enet0 = {
18 + .has_phy = 0, 18 + .has_phy = 0,
19 + .use_internal_phy = 1, 19 + .use_internal_phy = 1,
20 + .force_speed_100 = 1, 20 + .force_speed_100 = 1,
21 + .force_duplex_full = 1, 21 + .force_duplex_full = 1,
22 + }, 22 + },
23 + 23 +
24 + .enet1 = { 24 + .enet1 = {
25 + .has_phy = 1, 25 + .has_phy = 1,
26 + .phy_id = 0, 26 + .phy_id = 0,
27 + .force_speed_100 = 1, 27 + .force_speed_100 = 1,
28 + .force_duplex_full = 1, 28 + .force_duplex_full = 1,
29 + }, 29 + },
30 + 30 +
31 + 31 +
32 + .has_ohci0 = 1, 32 + .has_ohci0 = 1,
33 + .has_pccard = 1, 33 + .has_pccard = 1,
34 + .has_ehci0 = 1, 34 + .has_ehci0 = 1,
35 +}; 35 +};
36 #endif /* CONFIG_BCM63XX_CPU_6358 */ 36 #endif /* CONFIG_BCM63XX_CPU_6358 */
37 37
38 /* 38 /*
39 @@ -1085,6 +1114,7 @@ static const struct board_info __initcon 39 @@ -1133,6 +1162,7 @@ static const struct board_info __initcon
40 &board_ct6373_1, 40 &board_ct6373_1,
41 &board_HW553, 41 &board_HW553,
42 &board_spw303v, 42 &board_spw303v,
43 + &board_DVAG3810BN, 43 + &board_DVAG3810BN,
44 #endif 44 #endif
45 45
46 #ifdef CONFIG_BCM63XX_CPU_6368 46 #ifdef CONFIG_BCM63XX_CPU_6368
47 @@ -1144,6 +1174,7 @@ static struct of_device_id const bcm963x 47 @@ -1192,6 +1222,7 @@ static struct of_device_id const bcm963x
48 { .compatible = "comtrend,ct-6373", .data = &board_ct6373_1, }, 48 { .compatible = "comtrend,ct-6373", .data = &board_ct6373_1, },
49 { .compatible = "d-link,dsl-274xb-c2", .data = &board_dsl_274xb_rev_c, }, 49 { .compatible = "d-link,dsl-274xb-c2", .data = &board_dsl_274xb_rev_c, },
50 { .compatible = "d-link,dsl-2650u", .data = &board_96358vw2, }, 50 { .compatible = "d-link,dsl-2650u", .data = &board_96358vw2, },
51 + { .compatible = "d-link,dva-g3810bn/tl", .data = &board_DVAG3810BN, }, 51 + { .compatible = "d-link,dva-g3810bn/tl", .data = &board_DVAG3810BN, },
52 { .compatible = "huawei,hg553", .data = &board_HW553, }, 52 { .compatible = "huawei,hg553", .data = &board_HW553, },
53 { .compatible = "pirelli,a226g", .data = &board_DWVS0, }, 53 { .compatible = "pirelli,a226g", .data = &board_DWVS0, },
54 { .compatible = "pirelli,a226m", .data = &board_DWVS0, }, 54 { .compatible = "pirelli,a226m", .data = &board_DWVS0, },
55   55