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 @@ -210,6 +210,45 @@ static struct board_info __initdata boar 3 @@ -210,6 +210,45 @@ static struct board_info __initdata boar
4 .num_board_fixups = ARRAY_SIZE(dsl2751b_e1_fixups), 4 .num_board_fixups = ARRAY_SIZE(dsl2751b_e1_fixups),
5 }, 5 },
6 }; 6 };
7 + 7 +
8 +static struct board_info __initdata board_FAST2704N = { 8 +static struct board_info __initdata board_FAST2704N = {
9 + .name = "F@ST2704N", 9 + .name = "F@ST2704N",
10 + .expected_cpu_id = 0x6318, 10 + .expected_cpu_id = 0x6318,
11 + 11 +
12 + .has_pci = 1, 12 + .has_pci = 1,
13 + .use_fallback_sprom = 1, 13 + .use_fallback_sprom = 1,
14 + 14 +
15 + .has_enetsw = 1, 15 + .has_enetsw = 1,
16 + 16 +
17 + .has_ohci0 = 1, 17 + .has_ohci0 = 1,
18 + .has_ehci0 = 1, 18 + .has_ehci0 = 1,
19 + .num_usbh_ports = 1, 19 + .num_usbh_ports = 1,
20 + 20 +
21 + .enetsw = { 21 + .enetsw = {
22 + .used_ports = { 22 + .used_ports = {
23 + [0] = { 23 + [0] = {
24 + .used = 1, 24 + .used = 1,
25 + .phy_id = 1, 25 + .phy_id = 1,
26 + .name = "Port 1", 26 + .name = "Port 1",
27 + }, 27 + },
28 + [1] = { 28 + [1] = {
29 + .used = 1, 29 + .used = 1,
30 + .phy_id = 2, 30 + .phy_id = 2,
31 + .name = "Port 2", 31 + .name = "Port 2",
32 + }, 32 + },
33 + [2] = { 33 + [2] = {
34 + .used = 1, 34 + .used = 1,
35 + .phy_id = 3, 35 + .phy_id = 3,
36 + .name = "Port 3", 36 + .name = "Port 3",
37 + }, 37 + },
38 + [3] = { 38 + [3] = {
39 + .used = 1, 39 + .used = 1,
40 + .phy_id = 4, 40 + .phy_id = 4,
41 + .name = "Port 4", 41 + .name = "Port 4",
42 + }, 42 + },
43 + }, 43 + },
44 + }, 44 + },
45 +}; 45 +};
46 #endif /* CONFIG_BCM63XX_CPU_6318 */ 46 #endif /* CONFIG_BCM63XX_CPU_6318 */
47 47
48 /* 48 /*
49 @@ -2155,6 +2194,7 @@ static const struct board_info __initcon 49 @@ -2203,6 +2242,7 @@ static const struct board_info __initcon
50 &board_96318ref, 50 &board_96318ref,
51 &board_96318ref_p300, 51 &board_96318ref_p300,
52 &board_dsl_2751b_d1, 52 &board_dsl_2751b_d1,
53 + &board_FAST2704N, 53 + &board_FAST2704N,
54 #endif 54 #endif
55 #ifdef CONFIG_BCM63XX_CPU_6328 55 #ifdef CONFIG_BCM63XX_CPU_6328
56 &board_96328avng, 56 &board_96328avng,
57 @@ -2252,6 +2292,7 @@ static struct of_device_id const bcm963x 57 @@ -2300,6 +2340,7 @@ static struct of_device_id const bcm963x
58 { .compatible = "brcm,bcm96318ref", .data = &board_96318ref, }, 58 { .compatible = "brcm,bcm96318ref", .data = &board_96318ref, },
59 { .compatible = "brcm,bcm96318ref_p300", .data = &board_96318ref_p300, }, 59 { .compatible = "brcm,bcm96318ref_p300", .data = &board_96318ref_p300, },
60 { .compatible = "d-link,dsl-275xb-d", .data = &board_dsl_2751b_d1, }, 60 { .compatible = "d-link,dsl-275xb-d", .data = &board_dsl_2751b_d1, },
61 + { .compatible = "sagem,f@st2704n", .data = &board_FAST2704N, }, 61 + { .compatible = "sagem,f@st2704n", .data = &board_FAST2704N, },
62 #endif 62 #endif
63 #ifdef CONFIG_BCM63XX_CPU_6328 63 #ifdef CONFIG_BCM63XX_CPU_6328
64 { .compatible = "adb,a4001n", .data = &board_A4001N, }, 64 { .compatible = "adb,a4001n", .data = &board_A4001N, },
65   65