OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Only display areas with differencesRegard 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 @@ -1580,6 +1580,48 @@ static struct sprom_fixup __initdata vr3 3 @@ -1628,6 +1628,48 @@ static struct sprom_fixup __initdata vr3
4 { .offset = 115, .value = 0xfad9 }, 4 { .offset = 115, .value = 0xfad9 },
5 }; 5 };
6 6
7 +static struct board_info __initdata board_P870HW51A_V2 = { 7 +static struct board_info __initdata board_P870HW51A_V2 = {
8 + .name = "P870HW-51a_v2", 8 + .name = "P870HW-51a_v2",
9 + .expected_cpu_id = 0x6368, 9 + .expected_cpu_id = 0x6368,
10 + 10 +
11 + .has_pci = 1, 11 + .has_pci = 1,
12 + .use_fallback_sprom = 1, 12 + .use_fallback_sprom = 1,
13 + .has_ohci0 = 1, 13 + .has_ohci0 = 1,
14 + .has_ehci0 = 1, 14 + .has_ehci0 = 1,
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 + [1] = { 24 + [1] = {
25 + .used = 1, 25 + .used = 1,
26 + .phy_id = 2, 26 + .phy_id = 2,
27 + .name = "port2", 27 + .name = "port2",
28 + }, 28 + },
29 + [2] = { 29 + [2] = {
30 + .used = 1, 30 + .used = 1,
31 + .phy_id = 3, 31 + .phy_id = 3,
32 + .name = "port3", 32 + .name = "port3",
33 + }, 33 + },
34 + [3] = { 34 + [3] = {
35 + .used = 1, 35 + .used = 1,
36 + .phy_id = 4, 36 + .phy_id = 4,
37 + .name = "port4", 37 + .name = "port4",
38 + }, 38 + },
39 + }, 39 + },
40 + }, 40 + },
41 + 41 +
42 + .fallback_sprom = { 42 + .fallback_sprom = {
43 + .type = SPROM_BCM4318, 43 + .type = SPROM_BCM4318,
44 + .pci_bus = 0, 44 + .pci_bus = 0,
45 + .pci_dev = 1, 45 + .pci_dev = 1,
46 + }, 46 + },
47 +}; 47 +};
48 + 48 +
49 static struct board_info __initdata board_VR3025u = { 49 static struct board_info __initdata board_VR3025u = {
50 .name = "96368M-1541N", 50 .name = "96368M-1541N",
51 .expected_cpu_id = 0x6368, 51 .expected_cpu_id = 0x6368,
52 @@ -1947,6 +1989,7 @@ static const struct board_info __initcon 52 @@ -1995,6 +2037,7 @@ static const struct board_info __initcon
53 #ifdef CONFIG_BCM63XX_CPU_6368 53 #ifdef CONFIG_BCM63XX_CPU_6368
54 &board_96368mvwg, 54 &board_96368mvwg,
55 &board_96368mvngr, 55 &board_96368mvngr,
56 + &board_P870HW51A_V2, 56 + &board_P870HW51A_V2,
57 &board_VR3025u, 57 &board_VR3025u,
58 &board_VR3025un, 58 &board_VR3025un,
59 &board_WAP5813n, 59 &board_WAP5813n,
60 @@ -2045,6 +2088,7 @@ static struct of_device_id const bcm963x 60 @@ -2093,6 +2136,7 @@ static struct of_device_id const bcm963x
61 { .compatible = "comtrend,vr-3025u", .data = &board_VR3025u, }, 61 { .compatible = "comtrend,vr-3025u", .data = &board_VR3025u, },
62 { .compatible = "comtrend,vr-3025un", .data = &board_VR3025un, }, 62 { .compatible = "comtrend,vr-3025un", .data = &board_VR3025un, },
63 { .compatible = "comtrend,wap-5813n", .data = &board_WAP5813n, }, 63 { .compatible = "comtrend,wap-5813n", .data = &board_WAP5813n, },
64 + { .compatible = "zyxel,p870hw-51a-v2", .data = &board_P870HW51A_V2, }, 64 + { .compatible = "zyxel,p870hw-51a-v2", .data = &board_P870HW51A_V2, },
65 #endif 65 #endif
66 #ifdef CONFIG_BCM63XX_CPU_63268 66 #ifdef CONFIG_BCM63XX_CPU_63268
67 { .compatible = "brcm,bcm963268bu_p300", .data = &board_963268bu_p300, }, 67 { .compatible = "brcm,bcm963268bu_p300", .data = &board_963268bu_p300, },
68   68