OpenWrt – Diff between revs 2 and 3
?pathlinks?
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 | @@ -568,6 +568,24 @@ static struct board_info __initdata boar |
3 | @@ -600,6 +600,24 @@ static struct board_info __initdata boar |
|
4 | .has_ohci0 = 1, |
4 | .has_ohci0 = 1, |
|
5 | }; |
5 | }; |
|
6 | |
6 | |
|
7 | +/* NetGear DG834G v4 */ |
7 | +/* NetGear DG834G v4 */ |
|
8 | +static struct board_info __initdata board_96348W3 = { |
8 | +static struct board_info __initdata board_96348W3 = { |
|
9 | + .name = "96348W3", |
9 | + .name = "96348W3", |
|
10 | + .expected_cpu_id = 0x6348, |
10 | + .expected_cpu_id = 0x6348, |
|
11 | + |
11 | + |
|
12 | + .has_enet1 = 1, |
12 | + .has_enet1 = 1, |
|
13 | + .has_pci = 1, |
13 | + .has_pci = 1, |
|
14 | + |
14 | + |
|
15 | + .enet1 = { |
15 | + .enet1 = { |
|
16 | + .has_phy = 1, |
16 | + .has_phy = 1, |
|
17 | + .phy_id = 0, |
17 | + .phy_id = 0, |
|
18 | + .force_speed_100 = 1, |
18 | + .force_speed_100 = 1, |
|
19 | + .force_duplex_full = 1, |
19 | + .force_duplex_full = 1, |
|
20 | + }, |
20 | + }, |
|
21 | + |
21 | + |
|
22 | + .has_ohci0 = 1, |
22 | + .has_ohci0 = 1, |
|
23 | +}; |
23 | +}; |
|
24 | + |
24 | + |
|
25 | static struct board_info __initdata board_96348_D4PW = { |
25 | static struct board_info __initdata board_96348_D4PW = { |
|
26 | .name = "D-4P-W", |
26 | .name = "D-4P-W", |
|
27 | .expected_cpu_id = 0x6348, |
27 | .expected_cpu_id = 0x6348, |
|
28 | @@ -1028,6 +1046,7 @@ static const struct board_info __initcon |
28 | @@ -1076,6 +1094,7 @@ static const struct board_info __initcon |
|
29 | &board_ct536_ct5621, |
29 | &board_ct536_ct5621, |
|
30 | &board_96348A_122, |
30 | &board_96348A_122, |
|
31 | &board_CPVA502plus, |
31 | &board_CPVA502plus, |
|
32 | + &board_96348W3, |
32 | + &board_96348W3, |
|
33 | #endif |
33 | #endif |
|
34 | |
34 | |
|
35 | #ifdef CONFIG_BCM63XX_CPU_6358 |
35 | #ifdef CONFIG_BCM63XX_CPU_6358 |
|
36 | @@ -1083,6 +1102,7 @@ static struct of_device_id const bcm963x |
36 | @@ -1131,6 +1150,7 @@ static struct of_device_id const bcm963x |
|
37 | { .compatible = "davolink,dv-201amr", .data = &board_DV201AMR, }, |
37 | { .compatible = "davolink,dv-201amr", .data = &board_DV201AMR, }, |
|
38 | { .compatible = "dynalink,rta1025w", .data = &board_rta1025w_16, }, |
38 | { .compatible = "dynalink,rta1025w", .data = &board_rta1025w_16, }, |
|
39 | { .compatible = "netgear,dg834gtpn", .data = &board_96348gw_10, }, |
39 | { .compatible = "netgear,dg834gtpn", .data = &board_96348gw_10, }, |
|
40 | + { .compatible = "netgear,dg834g-v4", .data = &board_96348W3, }, |
40 | + { .compatible = "netgear,dg834g-v4", .data = &board_96348W3, }, |
|
41 | { .compatible = "sagem,f@st2404", .data = &board_FAST2404, }, |
41 | { .compatible = "sagem,f@st2404", .data = &board_FAST2404, }, |
|
42 | { .compatible = "t-com,spw500v", .data = &board_spw500v, }, |
42 | { .compatible = "t-com,spw500v", .data = &board_spw500v, }, |
|
43 | { .compatible = "tecom,gw6000", .data = &board_gw6000, }, |
43 | { .compatible = "tecom,gw6000", .data = &board_gw6000, }, |
|
44 | |
44 | |