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 @@ -1734,6 +1734,51 @@ static struct board_info __initdata boar 3 @@ -1782,6 +1782,51 @@ static struct board_info __initdata boar
4 * known 6368 boards 4 * known 6368 boards
5 */ 5 */
6 #ifdef CONFIG_BCM63XX_CPU_6368 6 #ifdef CONFIG_BCM63XX_CPU_6368
7 +static struct board_info __initdata board_AV4202N = { 7 +static struct board_info __initdata board_AV4202N = {
8 + .name = "96368_Swiss_S1", 8 + .name = "96368_Swiss_S1",
9 + .expected_cpu_id = 0x6368, 9 + .expected_cpu_id = 0x6368,
10 + 10 +
11 + .has_pci = 1, 11 + .has_pci = 1,
12 + .has_ohci0 = 1, 12 + .has_ohci0 = 1,
13 + .has_ehci0 = 1, 13 + .has_ehci0 = 1,
14 + .num_usbh_ports = 2, 14 + .num_usbh_ports = 2,
15 + 15 +
16 + .has_enetsw = 1, 16 + .has_enetsw = 1,
17 + .enetsw = { 17 + .enetsw = {
18 + .used_ports = { 18 + .used_ports = {
19 + [0] = { 19 + [0] = {
20 + .used = 1, 20 + .used = 1,
21 + .phy_id = 1, 21 + .phy_id = 1,
22 + .name = "port1", 22 + .name = "port1",
23 + }, 23 + },
24 + 24 +
25 + [1] = { 25 + [1] = {
26 + .used = 1, 26 + .used = 1,
27 + .phy_id = 2, 27 + .phy_id = 2,
28 + .name = "port2", 28 + .name = "port2",
29 + }, 29 + },
30 + 30 +
31 + [2] = { 31 + [2] = {
32 + .used = 1, 32 + .used = 1,
33 + .phy_id = 3, 33 + .phy_id = 3,
34 + .name = "port3", 34 + .name = "port3",
35 + }, 35 + },
36 + 36 +
37 + [3] = { 37 + [3] = {
38 + .used = 1, 38 + .used = 1,
39 + .phy_id = 4, 39 + .phy_id = 4,
40 + .name = "port4", 40 + .name = "port4",
41 + }, 41 + },
42 + }, 42 + },
43 + }, 43 + },
44 + .use_fallback_sprom = 1, 44 + .use_fallback_sprom = 1,
45 + .fallback_sprom = { 45 + .fallback_sprom = {
46 + .pci_bus = 0, 46 + .pci_bus = 0,
47 + .pci_dev = 1, 47 + .pci_dev = 1,
48 + }, 48 + },
49 + 49 +
50 +}; 50 +};
51 + 51 +
52 static struct board_info __initdata board_96368mvwg = { 52 static struct board_info __initdata board_96368mvwg = {
53 .name = "96368MVWG", 53 .name = "96368MVWG",
54 .expected_cpu_id = 0x6368, 54 .expected_cpu_id = 0x6368,
55 @@ -2447,6 +2492,7 @@ static const struct board_info __initcon 55 @@ -2495,6 +2540,7 @@ static const struct board_info __initcon
56 #endif 56 #endif
57 57
58 #ifdef CONFIG_BCM63XX_CPU_6368 58 #ifdef CONFIG_BCM63XX_CPU_6368
59 + &board_AV4202N, 59 + &board_AV4202N,
60 &board_96368mvwg, 60 &board_96368mvwg,
61 &board_96368mvngr, 61 &board_96368mvngr,
62 &board_DGND3700v1_3800B, 62 &board_DGND3700v1_3800B,
63 @@ -2554,6 +2600,7 @@ static struct of_device_id const bcm963x 63 @@ -2602,6 +2648,7 @@ static struct of_device_id const bcm963x
64 { .compatible = "sfr,nb6-ser-r0", .data = &board_nb6, }, 64 { .compatible = "sfr,nb6-ser-r0", .data = &board_nb6, },
65 #endif 65 #endif
66 #ifdef CONFIG_BCM63XX_CPU_6368 66 #ifdef CONFIG_BCM63XX_CPU_6368
67 + { .compatible = "adb,av4202n", .data = &board_AV4202N, }, 67 + { .compatible = "adb,av4202n", .data = &board_AV4202N, },
68 { .compatible = "brcm,bcm96368mvngr", .data = &board_96368mvngr, }, 68 { .compatible = "brcm,bcm96368mvngr", .data = &board_96368mvngr, },
69 { .compatible = "brcm,bcm96368mvwg", .data = &board_96368mvwg, }, 69 { .compatible = "brcm,bcm96368mvwg", .data = &board_96368mvwg, },
70 { .compatible = "comtrend,vr-3025u", .data = &board_VR3025u, }, 70 { .compatible = "comtrend,vr-3025u", .data = &board_VR3025u, },
71   71