OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 2 Rev 3
Line 1... Line 1...
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 @@ -217,6 +217,48 @@ static struct board_info __initdata boar 3 @@ -233,6 +233,64 @@ static struct board_info __initdata boar
4 .has_ohci0 = 1, 4 },
5 }; 5 };
Line 6... Line 6...
6 6
7 +static struct board_info __initdata board_gw6200 = { 7 +static struct board_info __initdata board_gw6200 = {
8 + .name = "GW6200", 8 + .name = "GW6200",
Line 20... Line 20...
20 + .force_speed_100 = 1, 20 + .force_speed_100 = 1,
21 + .force_duplex_full = 1, 21 + .force_duplex_full = 1,
22 + }, 22 + },
23 + 23 +
24 + .has_ohci0 = 1, 24 + .has_ohci0 = 1,
-   25 +
-   26 + .has_dsp = 1,
-   27 + .dsp = {
-   28 + .gpio_rst = 8, /* FIXME: What is real GPIO here? */
-   29 + .gpio_int = 34,
-   30 + .ext_irq = 2,
-   31 + .cs = 2,
-   32 + },
25 +}; 33 +};
26 + 34 +
27 +static struct board_info __initdata board_gw6000 = { 35 +static struct board_info __initdata board_gw6000 = {
28 + .name = "GW6000", 36 + .name = "GW6000",
29 + .expected_cpu_id = 0x6348, 37 + .expected_cpu_id = 0x6348,
Line 40... Line 48...
40 + .force_speed_100 = 1, 48 + .force_speed_100 = 1,
41 + .force_duplex_full = 1, 49 + .force_duplex_full = 1,
42 + }, 50 + },
43 + 51 +
44 + .has_ohci0 = 1, 52 + .has_ohci0 = 1,
-   53 +
-   54 + .has_dsp = 1,
-   55 + .dsp = {
-   56 + .gpio_rst = 6,
-   57 + .gpio_int = 34,
-   58 + .ext_irq = 2,
-   59 + .cs = 2,
-   60 + },
45 +}; 61 +};
46 + 62 +
47 + 63 +
48 + 64 +
49 static struct board_info __initdata board_FAST2404 = { 65 static struct board_info __initdata board_FAST2404 = {
50 .name = "F@ST2404", 66 .name = "F@ST2404",
51 .expected_cpu_id = 0x6348, 67 .expected_cpu_id = 0x6348,
52 @@ -574,6 +616,8 @@ static const struct board_info __initcon 68 @@ -598,6 +656,8 @@ static const struct board_info __initcon
53 #ifdef CONFIG_BCM63XX_CPU_6348 69 #ifdef CONFIG_BCM63XX_CPU_6348
54 &board_96348r, 70 &board_96348r,
55 &board_96348gw, 71 &board_96348gw,
56 + &board_gw6000, 72 + &board_gw6000,
57 + &board_gw6200, 73 + &board_gw6200,
58 &board_96348gw_10, 74 &board_96348gw_10,
59 &board_96348gw_11, 75 &board_96348gw_11,
60 &board_FAST2404, 76 &board_FAST2404,
61 @@ -624,6 +668,8 @@ static struct of_device_id const bcm963x 77 @@ -648,6 +708,8 @@ static struct of_device_id const bcm963x
62 { .compatible = "netgear,dg834gtpn", .data = &board_96348gw_10, }, 78 { .compatible = "netgear,dg834gtpn", .data = &board_96348gw_10, },
63 { .compatible = "sagem,f@st2404", .data = &board_FAST2404, }, 79 { .compatible = "sagem,f@st2404", .data = &board_FAST2404, },
64 { .compatible = "t-com,spw500v", .data = &board_spw500v, }, 80 { .compatible = "t-com,spw500v", .data = &board_spw500v, },
65 + { .compatible = "tecom,gw6000", .data = &board_gw6000, }, 81 + { .compatible = "tecom,gw6000", .data = &board_gw6000, },
66 + { .compatible = "tecom,gw6200", .data = &board_gw6200, }, 82 + { .compatible = "tecom,gw6200", .data = &board_gw6200, },