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 @@ -349,6 +349,49 @@ static struct board_info __initdata boar 3 @@ -349,6 +349,49 @@ static struct board_info __initdata boar
4 }, 4 },
5 }; 5 };
6 6
7 +static struct board_info __initdata board_A4001N = { 7 +static struct board_info __initdata board_A4001N = {
8 + .name = "96328dg2x2", 8 + .name = "96328dg2x2",
9 + .expected_cpu_id = 0x6328, 9 + .expected_cpu_id = 0x6328,
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 + .num_usbh_ports = 1, 15 + .num_usbh_ports = 1,
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 = "Port 1", 23 + .name = "Port 1",
24 + }, 24 + },
25 + [1] = { 25 + [1] = {
26 + .used = 1, 26 + .used = 1,
27 + .phy_id = 2, 27 + .phy_id = 2,
28 + .name = "Port 2", 28 + .name = "Port 2",
29 + }, 29 + },
30 + [2] = { 30 + [2] = {
31 + .used = 1, 31 + .used = 1,
32 + .phy_id = 3, 32 + .phy_id = 3,
33 + .name = "Port 3", 33 + .name = "Port 3",
34 + }, 34 + },
35 + [3] = { 35 + [3] = {
36 + .used = 1, 36 + .used = 1,
37 + .phy_id = 4, 37 + .phy_id = 4,
38 + .name = "Port 4", 38 + .name = "Port 4",
39 + }, 39 + },
40 + }, 40 + },
41 + }, 41 + },
42 + 42 +
43 + .fallback_sprom = { 43 + .fallback_sprom = {
44 + .type = SPROM_BCM43225, 44 + .type = SPROM_BCM43225,
45 + .pci_bus = 1, 45 + .pci_bus = 1,
46 + .pci_dev = 0, 46 + .pci_dev = 0,
47 + }, 47 + },
48 +}; 48 +};
49 + 49 +
50 static struct board_info __initdata board_A4001N1 = { 50 static struct board_info __initdata board_A4001N1 = {
51 .name = "963281T_TEF", 51 .name = "963281T_TEF",
52 .expected_cpu_id = 0x6328, 52 .expected_cpu_id = 0x6328,
53 @@ -1954,6 +1997,7 @@ static const struct board_info __initcon 53 @@ -2002,6 +2045,7 @@ static const struct board_info __initcon
54 &board_AR5381u, 54 &board_AR5381u,
55 &board_AR5387un, 55 &board_AR5387un,
56 &board_963281TAN, 56 &board_963281TAN,
57 + &board_A4001N, 57 + &board_A4001N,
58 &board_A4001N1, 58 &board_A4001N1,
59 &board_dsl_274xb_f1, 59 &board_dsl_274xb_f1,
60 &board_FAST2704V2, 60 &board_FAST2704V2,
61 @@ -2042,6 +2086,7 @@ static struct of_device_id const bcm963x 61 @@ -2090,6 +2134,7 @@ static struct of_device_id const bcm963x
62 { .compatible = "brcm,bcm96318ref_p300", .data = &board_96318ref_p300, }, 62 { .compatible = "brcm,bcm96318ref_p300", .data = &board_96318ref_p300, },
63 #endif 63 #endif
64 #ifdef CONFIG_BCM63XX_CPU_6328 64 #ifdef CONFIG_BCM63XX_CPU_6328
65 + { .compatible = "adb,a4001n", .data = &board_A4001N, }, 65 + { .compatible = "adb,a4001n", .data = &board_A4001N, },
66 { .compatible = "adb,a4001n1", .data = &board_A4001N1, }, 66 { .compatible = "adb,a4001n1", .data = &board_A4001N1, },
67 { .compatible = "brcm,bcm963281TAN", .data = &board_963281TAN, }, 67 { .compatible = "brcm,bcm963281TAN", .data = &board_963281TAN, },
68 { .compatible = "brcm,bcm96328avng", .data = &board_96328avng, }, 68 { .compatible = "brcm,bcm96328avng", .data = &board_96328avng, },
69   69