projects
/
openwrt
/
staging
/
mkresin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
brcm63xx: move buttons and leds to dts files
[openwrt/staging/mkresin.git]
/
target
/
linux
/
brcm63xx
/
patches-3.14
/
553-boards_probe_switch.patch
diff --git
a/target/linux/brcm63xx/patches-3.14/553-boards_probe_switch.patch
b/target/linux/brcm63xx/patches-3.14/553-boards_probe_switch.patch
index 4a507d09af5a442a1406156fa2339758db2361f7..6442761714938b9828256663ca9a2d5509fe00be 100644
(file)
--- a/
target/linux/brcm63xx/patches-3.14/553-boards_probe_switch.patch
+++ b/
target/linux/brcm63xx/patches-3.14/553-boards_probe_switch.patch
@@
-1,24
+1,17
@@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -
792,6 +792,8
@@ static struct board_info __initdata boar
+@@ -
423,6 +423,10
@@ static struct board_info __initdata boar
.has_uart0 = 1,
.has_enet0 = 1,
.enet0 = {
+ .has_phy = 1,
+ .phy_id = 0,
.has_uart0 = 1,
.has_enet0 = 1,
.enet0 = {
+ .has_phy = 1,
+ .phy_id = 0,
- .force_speed_100 = 1,
- .force_duplex_full = 1,
- },
-@@ -836,6 +838,8 @@ static struct board_info __initdata boar
- .has_uart0 = 1,
- .has_enet0 = 1,
- .enet0 = {
+ .has_phy = 1,
+ .phy_id = 0,
.force_speed_100 = 1,
.force_duplex_full = 1,
},
+ .has_phy = 1,
+ .phy_id = 0,
.force_speed_100 = 1,
.force_duplex_full = 1,
},
-@@ -
1126,6 +1130
,8 @@ static struct board_info __initdata boar
+@@ -
627,6 +631
,8 @@ static struct board_info __initdata boar
.use_internal_phy = 1,
},
.enet1 = {
.use_internal_phy = 1,
},
.enet1 = {
@@
-27,7
+20,7
@@
.force_speed_100 = 1,
.force_duplex_full = 1,
},
.force_speed_100 = 1,
.force_duplex_full = 1,
},
-@@ -
1200,6 +120
6,8 @@ static struct board_info __initdata boar
+@@ -
660,6 +66
6,8 @@ static struct board_info __initdata boar
},
.enet1 = {
},
.enet1 = {
@@
-36,7
+29,7
@@
.force_speed_100 = 1,
.force_duplex_full = 1,
},
.force_speed_100 = 1,
.force_duplex_full = 1,
},
-@@ -
1480,6 +1488
,8 @@ static struct board_info __initdata boar
+@@ -
807,6 +815
,8 @@ static struct board_info __initdata boar
.use_internal_phy = 1,
},
.enet1 = {
.use_internal_phy = 1,
},
.enet1 = {
@@
-45,7
+38,7
@@
.force_speed_100 = 1,
.force_duplex_full = 1,
},
.force_speed_100 = 1,
.force_duplex_full = 1,
},
-@@ -
1659,6 +166
9,8 @@ static struct board_info __initdata boar
+@@ -
869,6 +87
9,8 @@ static struct board_info __initdata boar
},
.enet1 = {
},
.enet1 = {
@@
-54,7
+47,7
@@
.force_speed_100 = 1,
.force_duplex_full = 1,
},
.force_speed_100 = 1,
.force_duplex_full = 1,
},
-@@ -
1735,6 +1747
,8 @@ static struct board_info __initdata boar
+@@ -
910,6 +922
,8 @@ static struct board_info __initdata boar
.use_internal_phy = 1,
},
.enet1 = {
.use_internal_phy = 1,
},
.enet1 = {
@@
-63,7
+56,7
@@
.force_speed_100 = 1,
.force_duplex_full = 1,
},
.force_speed_100 = 1,
.force_duplex_full = 1,
},
-@@ -
1758,6 +1772
,8 @@ static struct board_info __initdata boar
+@@ -
932,6 +946
,8 @@ static struct board_info __initdata boar
.use_internal_phy = 1,
},
.enet1 = {
.use_internal_phy = 1,
},
.enet1 = {
@@
-72,7
+65,7
@@
.force_speed_100 = 1,
.force_duplex_full = 1,
},
.force_speed_100 = 1,
.force_duplex_full = 1,
},
-@@ -
1779,6 +1795
,8 @@ static struct board_info __initdata boar
+@@ -
952,6 +968
,8 @@ static struct board_info __initdata boar
.use_internal_phy = 1,
},
.enet1 = {
.use_internal_phy = 1,
},
.enet1 = {
@@
-81,7
+74,7
@@
.force_speed_100 = 1,
.force_duplex_full = 1,
},
.force_speed_100 = 1,
.force_duplex_full = 1,
},
-@@ -
2124,6 +2142
,8 @@ static struct board_info __initdata boar
+@@ -
1147,6 +1165
,8 @@ static struct board_info __initdata boar
},
.enet1 = {
},
.enet1 = {
@@
-90,7
+83,7
@@
.force_speed_100 = 1,
.force_duplex_full = 1,
},
.force_speed_100 = 1,
.force_duplex_full = 1,
},
-@@ -
2178,6 +2198
,8 @@ static struct board_info __initdata boar
+@@ -
1219,6 +1239
,8 @@ static struct board_info __initdata boar
},
.enet1 = {
},
.enet1 = {
@@
-99,19
+92,12
@@
.force_speed_100 = 1,
.force_duplex_full = 1,
},
.force_speed_100 = 1,
.force_duplex_full = 1,
},
-@@ -
2320,6 +2342,8
@@ static struct board_info __initdata boar
+@@ -
1244,6 +1266,10
@@ static struct board_info __initdata boar
},
.enet1 = {
+ .has_phy = 1,
+ .phy_id = 0,
},
.enet1 = {
+ .has_phy = 1,
+ .phy_id = 0,
- .force_speed_100 = 1,
- .force_duplex_full = 1,
- },
-@@ -2439,6 +2463,8 @@ static struct board_info __initdata boar
- },
-
- .enet1 = {
+ .has_phy = 1,
+ .phy_id = 0,
.force_speed_100 = 1,
+ .has_phy = 1,
+ .phy_id = 0,
.force_speed_100 = 1,