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 @@ -1612,6 +1612,51 @@ static struct board_info __initdata boar 3 @@ -1660,6 +1660,51 @@ static struct board_info __initdata boar
4 }, 4 },
5 }, 5 },
6 }; 6 };
7 + 7 +
8 +static struct board_info __initdata board_vw6339gu = { 8 +static struct board_info __initdata board_vw6339gu = {
9 + .name = "VW6339GU", 9 + .name = "VW6339GU",
10 + .expected_cpu_id = 0x63268, 10 + .expected_cpu_id = 0x63268,
11 + 11 +
12 + .has_ehci0 = 1, 12 + .has_ehci0 = 1,
13 + .has_ohci0 = 1, 13 + .has_ohci0 = 1,
14 + .num_usbh_ports = 1, 14 + .num_usbh_ports = 1,
15 + 15 +
16 + .has_enetsw = 1, 16 + .has_enetsw = 1,
17 + 17 +
18 + .enetsw = { 18 + .enetsw = {
19 + .used_ports = { 19 + .used_ports = {
20 + [0] = { 20 + [0] = {
21 + .used = 1, 21 + .used = 1,
22 + .phy_id = 1, 22 + .phy_id = 1,
23 + .name = "LAN2", 23 + .name = "LAN2",
24 + }, 24 + },
25 + 25 +
26 + [1] = { 26 + [1] = {
27 + .used = 1, 27 + .used = 1,
28 + .phy_id = 2, 28 + .phy_id = 2,
29 + .name = "LAN3", 29 + .name = "LAN3",
30 + }, 30 + },
31 + 31 +
32 + [2] = { 32 + [2] = {
33 + .used = 1, 33 + .used = 1,
34 + .phy_id = 3, 34 + .phy_id = 3,
35 + .name = "LAN4", 35 + .name = "LAN4",
36 + }, 36 + },
37 + 37 +
38 + [3] = { 38 + [3] = {
39 + .used = 1, 39 + .used = 1,
40 + .phy_id = 4, 40 + .phy_id = 4,
41 + .name = "LAN1", 41 + .name = "LAN1",
42 + }, 42 + },
43 + 43 +
44 + [4] = { 44 + [4] = {
45 + .used = 1, 45 + .used = 1,
46 + .phy_id = 7, 46 + .phy_id = 7,
47 + .name = "WAN", 47 + .name = "WAN",
48 + }, 48 + },
49 + }, 49 + },
50 + }, 50 + },
51 +}; 51 +};
52 #endif /* CONFIG_BCM63XX_CPU_63268 */ 52 #endif /* CONFIG_BCM63XX_CPU_63268 */
53 53
54 /* 54 /*
55 @@ -1698,6 +1743,7 @@ static const struct board_info __initcon 55 @@ -1746,6 +1791,7 @@ static const struct board_info __initcon
56 #endif 56 #endif
57 #ifdef CONFIG_BCM63XX_CPU_63268 57 #ifdef CONFIG_BCM63XX_CPU_63268
58 &board_963269bhr, 58 &board_963269bhr,
59 + &board_vw6339gu, 59 + &board_vw6339gu,
60 #endif 60 #endif
61 }; 61 };
62 62
63 @@ -1788,6 +1834,7 @@ static struct of_device_id const bcm963x 63 @@ -1836,6 +1882,7 @@ static struct of_device_id const bcm963x
64 #endif 64 #endif
65 #ifdef CONFIG_BCM63XX_CPU_63268 65 #ifdef CONFIG_BCM63XX_CPU_63268
66 { .compatible = "brcm,bcm963269bhr", .data = &board_963269bhr, }, 66 { .compatible = "brcm,bcm963269bhr", .data = &board_963269bhr, },
67 + { .compatible = "inteno,vg50", .data = &board_vw6339gu, }, 67 + { .compatible = "inteno,vg50", .data = &board_vw6339gu, },
68 #endif 68 #endif
69 #endif /* CONFIG_OF */ 69 #endif /* CONFIG_OF */
70 { }, 70 { },
71   71