OpenWrt – Diff between revs 2 and 3
?pathlinks?
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 | @@ -324,6 +324,36 @@ static struct board_info __initdata boar |
3 | @@ -340,6 +340,44 @@ static struct board_info __initdata boar |
|
4 | .force_duplex_full = 1, |
4 | .force_duplex_full = 1, |
|
5 | }, |
5 | }, |
|
6 | }; |
6 | }; |
|
7 | + |
7 | + |
|
8 | +static struct sprom_fixup __initdata spw500v_fixups[] = { |
8 | +static struct sprom_fixup __initdata spw500v_fixups[] = { |
|
Line 24... | Line 24... | |||
24 | + .enet0 = { |
24 | + .enet0 = { |
|
25 | + .has_phy = 1, |
25 | + .has_phy = 1, |
|
26 | + .use_internal_phy = 1, |
26 | + .use_internal_phy = 1, |
|
27 | + }, |
27 | + }, |
|
28 | + |
28 | + |
|
- | 29 | + .has_dsp = 1, |
||
- | 30 | + .dsp = { |
||
- | 31 | + .gpio_rst = 6, |
||
- | 32 | + .gpio_int = 34, |
||
- | 33 | + .ext_irq = 2, |
||
- | 34 | + .cs = 2, |
||
- | 35 | + }, |
||
- | 36 | + |
||
29 | + .fallback_sprom = { |
37 | + .fallback_sprom = { |
|
30 | + .type = SPROM_BCM4318, |
38 | + .type = SPROM_BCM4318, |
|
31 | + .pci_bus = 0, |
39 | + .pci_bus = 0, |
|
32 | + .pci_dev = 1, |
40 | + .pci_dev = 1, |
|
33 | + .board_fixups = spw500v_fixups, |
41 | + .board_fixups = spw500v_fixups, |
|
Line 35... | Line 43... | |||
35 | + }, |
43 | + }, |
|
36 | +}; |
44 | +}; |
|
37 | #endif /* CONFIG_BCM63XX_CPU_6348 */ |
45 | #endif /* CONFIG_BCM63XX_CPU_6348 */ |
|
Line 38... | Line 46... | |||
38 | |
46 | |
|
39 | /* |
47 | /* |
|
40 | @@ -551,6 +581,7 @@ static const struct board_info __initcon |
48 | @@ -567,6 +605,7 @@ static const struct board_info __initcon |
|
41 | &board_96348gw_a, |
49 | &board_96348gw_a, |
|
42 | &board_rta1025w_16, |
50 | &board_rta1025w_16, |
|
43 | &board_96348_D4PW, |
51 | &board_96348_D4PW, |
|
44 | + &board_spw500v, |
52 | + &board_spw500v, |
|
Line 45... | Line 53... | |||
45 | #endif |
53 | #endif |
|
46 | |
54 | |
|
47 | #ifdef CONFIG_BCM63XX_CPU_6358 |
55 | #ifdef CONFIG_BCM63XX_CPU_6358 |
|
48 | @@ -592,6 +623,7 @@ static struct of_device_id const bcm963x |
56 | @@ -608,6 +647,7 @@ static struct of_device_id const bcm963x |
|
49 | { .compatible = "dynalink,rta1025w", .data = &board_rta1025w_16, }, |
57 | { .compatible = "dynalink,rta1025w", .data = &board_rta1025w_16, }, |
|
50 | { .compatible = "netgear,dg834gtpn", .data = &board_96348gw_10, }, |
58 | { .compatible = "netgear,dg834gtpn", .data = &board_96348gw_10, }, |
|
51 | { .compatible = "sagem,f@st2404", .data = &board_FAST2404, }, |
59 | { .compatible = "sagem,f@st2404", .data = &board_FAST2404, }, |