OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Only display areas with differencesIgnore whitespace
Rev 2 Rev 3
1 From f457fc2eb9bb915b5a4d251c7c68d4694cf07b01 Mon Sep 17 00:00:00 2001 1 From f457fc2eb9bb915b5a4d251c7c68d4694cf07b01 Mon Sep 17 00:00:00 2001
2 From: Maxime Bizon <mbizon@freebox.fr> 2 From: Maxime Bizon <mbizon@freebox.fr>
3 Date: Fri, 4 Nov 2011 12:33:48 +0100 3 Date: Fri, 4 Nov 2011 12:33:48 +0100
4 Subject: [PATCH 33/63] bcm63xx: add support for 96368MVNgr board. 4 Subject: [PATCH 33/63] bcm63xx: add support for 96368MVNgr board.
5   5  
6 --- 6 ---
7 arch/mips/bcm63xx/boards/board_bcm963xx.c | 67 +++++++++++++++++++++++++++++ 7 arch/mips/bcm63xx/boards/board_bcm963xx.c | 67 +++++++++++++++++++++++++++++
8 1 files changed, 67 insertions(+), 0 deletions(-) 8 1 files changed, 67 insertions(+), 0 deletions(-)
9   9  
10 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c 10 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
11 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c 11 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
12 @@ -841,6 +841,45 @@ static struct board_info __initdata boar 12 @@ -889,6 +889,45 @@ static struct board_info __initdata boar
13 .has_ohci0 = 1, 13 .has_ohci0 = 1,
14 .has_ehci0 = 1, 14 .has_ehci0 = 1,
15 }; 15 };
16 + 16 +
17 +static struct board_info __initdata board_96368mvngr = { 17 +static struct board_info __initdata board_96368mvngr = {
18 + .name = "96368MVNgr", 18 + .name = "96368MVNgr",
19 + .expected_cpu_id = 0x6368, 19 + .expected_cpu_id = 0x6368,
20 + 20 +
21 + .has_pci = 1, 21 + .has_pci = 1,
22 + .has_enetsw = 1, 22 + .has_enetsw = 1,
23 + 23 +
24 + .enetsw = { 24 + .enetsw = {
25 + .used_ports = { 25 + .used_ports = {
26 + [0] = { 26 + [0] = {
27 + .used = 1, 27 + .used = 1,
28 + .phy_id = 1, 28 + .phy_id = 1,
29 + .name = "port1", 29 + .name = "port1",
30 + }, 30 + },
31 + 31 +
32 + [1] = { 32 + [1] = {
33 + .used = 1, 33 + .used = 1,
34 + .phy_id = 2, 34 + .phy_id = 2,
35 + .name = "port2", 35 + .name = "port2",
36 + }, 36 + },
37 + 37 +
38 + [2] = { 38 + [2] = {
39 + .used = 1, 39 + .used = 1,
40 + .phy_id = 3, 40 + .phy_id = 3,
41 + .name = "port3", 41 + .name = "port3",
42 + }, 42 + },
43 + 43 +
44 + [3] = { 44 + [3] = {
45 + .used = 1, 45 + .used = 1,
46 + .phy_id = 4, 46 + .phy_id = 4,
47 + .name = "port4", 47 + .name = "port4",
48 + }, 48 + },
49 + }, 49 + },
50 + }, 50 + },
51 + 51 +
52 + .has_ohci0 = 1, 52 + .has_ohci0 = 1,
53 + .has_ehci0 = 1, 53 + .has_ehci0 = 1,
54 +}; 54 +};
55 #endif /* CONFIG_BCM63XX_CPU_6368 */ 55 #endif /* CONFIG_BCM63XX_CPU_6368 */
56 56
57 /* 57 /*
58 @@ -898,6 +937,7 @@ static const struct board_info __initcon 58 @@ -946,6 +985,7 @@ static const struct board_info __initcon
59 59
60 #ifdef CONFIG_BCM63XX_CPU_6368 60 #ifdef CONFIG_BCM63XX_CPU_6368
61 &board_96368mvwg, 61 &board_96368mvwg,
62 + &board_96368mvngr, 62 + &board_96368mvngr,
63 #endif 63 #endif
64 }; 64 };
65 65
66 @@ -959,6 +999,7 @@ static struct of_device_id const bcm963x 66 @@ -1007,6 +1047,7 @@ static struct of_device_id const bcm963x
67 { .compatible = "telsey,cpva642", .data = &board_CPVA642, }, 67 { .compatible = "telsey,cpva642", .data = &board_CPVA642, },
68 #endif 68 #endif
69 #ifdef CONFIG_BCM63XX_CPU_6368 69 #ifdef CONFIG_BCM63XX_CPU_6368
70 + { .compatible = "brcm,bcm96368mvngr", .data = &board_96368mvngr, }, 70 + { .compatible = "brcm,bcm96368mvngr", .data = &board_96368mvngr, },
71 { .compatible = "brcm,bcm96368mvwg", .data = &board_96368mvwg, }, 71 { .compatible = "brcm,bcm96368mvwg", .data = &board_96368mvwg, },
72 #endif 72 #endif
73 #ifdef CONFIG_BCM63XX_CPU_63268 73 #ifdef CONFIG_BCM63XX_CPU_63268
74   74