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 @@ -1761,6 +1761,52 @@ static struct board_info __initdata boar 3 @@ -1809,6 +1809,52 @@ static struct board_info __initdata boar
4 }, 4 },
5 }; 5 };
6 6
7 +static struct board_info __initdata board_HG655b = { 7 +static struct board_info __initdata board_HG655b = {
8 + .name = "HW65x", 8 + .name = "HW65x",
9 + .expected_cpu_id = 0x6368, 9 + .expected_cpu_id = 0x6368,
10 + 10 +
11 + .has_pci = 1, 11 + .has_pci = 1,
12 + .has_ohci0 = 1, 12 + .has_ohci0 = 1,
13 + .has_ehci0 = 1, 13 + .has_ehci0 = 1,
14 + .num_usbh_ports = 2, 14 + .num_usbh_ports = 2,
15 + 15 +
16 + .has_caldata = 1, 16 + .has_caldata = 1,
17 + .caldata = { 17 + .caldata = {
18 + { 18 + {
19 + .vendor = PCI_VENDOR_ID_RALINK, 19 + .vendor = PCI_VENDOR_ID_RALINK,
20 + .caldata_offset = 0x7c0000, 20 + .caldata_offset = 0x7c0000,
21 + .slot = 1, 21 + .slot = 1,
22 + .eeprom = "rt2x00.eeprom", 22 + .eeprom = "rt2x00.eeprom",
23 + }, 23 + },
24 + }, 24 + },
25 + 25 +
26 + .has_enetsw = 1, 26 + .has_enetsw = 1,
27 + .enetsw = { 27 + .enetsw = {
28 + .used_ports = { 28 + .used_ports = {
29 + [0] = { 29 + [0] = {
30 + .used = 1, 30 + .used = 1,
31 + .phy_id = 1, 31 + .phy_id = 1,
32 + .name = "port1", 32 + .name = "port1",
33 + }, 33 + },
34 + [1] = { 34 + [1] = {
35 + .used = 1, 35 + .used = 1,
36 + .phy_id = 2, 36 + .phy_id = 2,
37 + .name = "port2", 37 + .name = "port2",
38 + }, 38 + },
39 + [2] = { 39 + [2] = {
40 + .used = 1, 40 + .used = 1,
41 + .phy_id = 3, 41 + .phy_id = 3,
42 + .name = "port3", 42 + .name = "port3",
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 + 52 +
53 static struct sprom_fixup __initdata vr3025u_fixups[] = { 53 static struct sprom_fixup __initdata vr3025u_fixups[] = {
54 { .offset = 97, .value = 0xfeb3 }, 54 { .offset = 97, .value = 0xfeb3 },
55 { .offset = 98, .value = 0x1618 }, 55 { .offset = 98, .value = 0x1618 },
56 @@ -2184,6 +2230,7 @@ static const struct board_info __initcon 56 @@ -2232,6 +2278,7 @@ static const struct board_info __initcon
57 &board_96368mvwg, 57 &board_96368mvwg,
58 &board_96368mvngr, 58 &board_96368mvngr,
59 &board_DGND3700v1_3800B, 59 &board_DGND3700v1_3800B,
60 + &board_HG655b, 60 + &board_HG655b,
61 &board_P870HW51A_V2, 61 &board_P870HW51A_V2,
62 &board_VR3025u, 62 &board_VR3025u,
63 &board_VR3025un, 63 &board_VR3025un,
64 @@ -2287,6 +2334,7 @@ static struct of_device_id const bcm963x 64 @@ -2335,6 +2382,7 @@ static struct of_device_id const bcm963x
65 { .compatible = "comtrend,vr-3025u", .data = &board_VR3025u, }, 65 { .compatible = "comtrend,vr-3025u", .data = &board_VR3025u, },
66 { .compatible = "comtrend,vr-3025un", .data = &board_VR3025un, }, 66 { .compatible = "comtrend,vr-3025un", .data = &board_VR3025un, },
67 { .compatible = "comtrend,wap-5813n", .data = &board_WAP5813n, }, 67 { .compatible = "comtrend,wap-5813n", .data = &board_WAP5813n, },
68 + { .compatible = "huawei,hg655b", .data = &board_HG655b, }, 68 + { .compatible = "huawei,hg655b", .data = &board_HG655b, },
69 { .compatible = "netgear,dgnd3700v1", .data = &board_DGND3700v1_3800B, }, 69 { .compatible = "netgear,dgnd3700v1", .data = &board_DGND3700v1_3800B, },
70 { .compatible = "zyxel,p870hw-51a-v2", .data = &board_P870HW51A_V2, }, 70 { .compatible = "zyxel,p870hw-51a-v2", .data = &board_P870HW51A_V2, },
71 #endif 71 #endif
72   72