diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2009-03-19 14:01:48 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2009-03-24 09:35:13 -0400 |
commit | 84ba4a5899e613a396c5bea5feadba923534801b (patch) | |
tree | 8f5c39fc7dbde9451995ac5b771423707afe8bda /arch/powerpc/platforms/85xx | |
parent | 70b3adbba056f5d9081f1ec9b4a629e3c7502072 (diff) |
powerpc/85xx: Move gianfar mdio nodes under the ethernet nodes
Currently it doesn't matter where the mdio nodes are placed, but with
power management support (i.e. when sleep = <> properties will take
effect), mdio nodes placement will become important: mdio controller
is a part of the ethernet block, so the mdio nodes should be placed
correctly. Otherwise we may wrongly assume that MDIO controllers are
available during sleep.
Suggested-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/85xx')
-rw-r--r-- | arch/powerpc/platforms/85xx/ksi8560.c | 1 | ||||
-rw-r--r-- | arch/powerpc/platforms/85xx/mpc8536_ds.c | 1 | ||||
-rw-r--r-- | arch/powerpc/platforms/85xx/mpc85xx_ads.c | 1 | ||||
-rw-r--r-- | arch/powerpc/platforms/85xx/mpc85xx_cds.c | 1 | ||||
-rw-r--r-- | arch/powerpc/platforms/85xx/mpc85xx_ds.c | 1 | ||||
-rw-r--r-- | arch/powerpc/platforms/85xx/mpc85xx_mds.c | 1 | ||||
-rw-r--r-- | arch/powerpc/platforms/85xx/sbc8548.c | 1 | ||||
-rw-r--r-- | arch/powerpc/platforms/85xx/sbc8560.c | 1 | ||||
-rw-r--r-- | arch/powerpc/platforms/85xx/stx_gp3.c | 1 | ||||
-rw-r--r-- | arch/powerpc/platforms/85xx/tqm85xx.c | 1 |
10 files changed, 10 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/85xx/ksi8560.c b/arch/powerpc/platforms/85xx/ksi8560.c index 66f29235ff0..f4d36b5a2e0 100644 --- a/arch/powerpc/platforms/85xx/ksi8560.c +++ b/arch/powerpc/platforms/85xx/ksi8560.c | |||
@@ -219,6 +219,7 @@ static struct of_device_id __initdata of_bus_ids[] = { | |||
219 | { .type = "simple-bus", }, | 219 | { .type = "simple-bus", }, |
220 | { .name = "cpm", }, | 220 | { .name = "cpm", }, |
221 | { .name = "localbus", }, | 221 | { .name = "localbus", }, |
222 | { .compatible = "gianfar", }, | ||
222 | {}, | 223 | {}, |
223 | }; | 224 | }; |
224 | 225 | ||
diff --git a/arch/powerpc/platforms/85xx/mpc8536_ds.c b/arch/powerpc/platforms/85xx/mpc8536_ds.c index 1bf5aefdfeb..63efca20d7b 100644 --- a/arch/powerpc/platforms/85xx/mpc8536_ds.c +++ b/arch/powerpc/platforms/85xx/mpc8536_ds.c | |||
@@ -92,6 +92,7 @@ static struct of_device_id __initdata mpc8536_ds_ids[] = { | |||
92 | { .type = "soc", }, | 92 | { .type = "soc", }, |
93 | { .compatible = "soc", }, | 93 | { .compatible = "soc", }, |
94 | { .compatible = "simple-bus", }, | 94 | { .compatible = "simple-bus", }, |
95 | { .compatible = "gianfar", }, | ||
95 | {}, | 96 | {}, |
96 | }; | 97 | }; |
97 | 98 | ||
diff --git a/arch/powerpc/platforms/85xx/mpc85xx_ads.c b/arch/powerpc/platforms/85xx/mpc85xx_ads.c index 21f009023e2..9438a892afc 100644 --- a/arch/powerpc/platforms/85xx/mpc85xx_ads.c +++ b/arch/powerpc/platforms/85xx/mpc85xx_ads.c | |||
@@ -226,6 +226,7 @@ static struct of_device_id __initdata of_bus_ids[] = { | |||
226 | { .name = "cpm", }, | 226 | { .name = "cpm", }, |
227 | { .name = "localbus", }, | 227 | { .name = "localbus", }, |
228 | { .compatible = "simple-bus", }, | 228 | { .compatible = "simple-bus", }, |
229 | { .compatible = "gianfar", }, | ||
229 | {}, | 230 | {}, |
230 | }; | 231 | }; |
231 | 232 | ||
diff --git a/arch/powerpc/platforms/85xx/mpc85xx_cds.c b/arch/powerpc/platforms/85xx/mpc85xx_cds.c index aeb6a5bc552..0a9e49104bd 100644 --- a/arch/powerpc/platforms/85xx/mpc85xx_cds.c +++ b/arch/powerpc/platforms/85xx/mpc85xx_cds.c | |||
@@ -336,6 +336,7 @@ static struct of_device_id __initdata of_bus_ids[] = { | |||
336 | { .type = "soc", }, | 336 | { .type = "soc", }, |
337 | { .compatible = "soc", }, | 337 | { .compatible = "soc", }, |
338 | { .compatible = "simple-bus", }, | 338 | { .compatible = "simple-bus", }, |
339 | { .compatible = "gianfar", }, | ||
339 | {}, | 340 | {}, |
340 | }; | 341 | }; |
341 | 342 | ||
diff --git a/arch/powerpc/platforms/85xx/mpc85xx_ds.c b/arch/powerpc/platforms/85xx/mpc85xx_ds.c index 7326d904202..de66de7a9ca 100644 --- a/arch/powerpc/platforms/85xx/mpc85xx_ds.c +++ b/arch/powerpc/platforms/85xx/mpc85xx_ds.c | |||
@@ -204,6 +204,7 @@ static struct of_device_id __initdata mpc85xxds_ids[] = { | |||
204 | { .type = "soc", }, | 204 | { .type = "soc", }, |
205 | { .compatible = "soc", }, | 205 | { .compatible = "soc", }, |
206 | { .compatible = "simple-bus", }, | 206 | { .compatible = "simple-bus", }, |
207 | { .compatible = "gianfar", }, | ||
207 | {}, | 208 | {}, |
208 | }; | 209 | }; |
209 | 210 | ||
diff --git a/arch/powerpc/platforms/85xx/mpc85xx_mds.c b/arch/powerpc/platforms/85xx/mpc85xx_mds.c index 658a36fab3a..7dd029034ae 100644 --- a/arch/powerpc/platforms/85xx/mpc85xx_mds.c +++ b/arch/powerpc/platforms/85xx/mpc85xx_mds.c | |||
@@ -265,6 +265,7 @@ static struct of_device_id mpc85xx_ids[] = { | |||
265 | { .compatible = "simple-bus", }, | 265 | { .compatible = "simple-bus", }, |
266 | { .type = "qe", }, | 266 | { .type = "qe", }, |
267 | { .compatible = "fsl,qe", }, | 267 | { .compatible = "fsl,qe", }, |
268 | { .compatible = "gianfar", }, | ||
268 | {}, | 269 | {}, |
269 | }; | 270 | }; |
270 | 271 | ||
diff --git a/arch/powerpc/platforms/85xx/sbc8548.c b/arch/powerpc/platforms/85xx/sbc8548.c index 7ec77ce12da..ecdd8c09e4e 100644 --- a/arch/powerpc/platforms/85xx/sbc8548.c +++ b/arch/powerpc/platforms/85xx/sbc8548.c | |||
@@ -154,6 +154,7 @@ static struct of_device_id __initdata of_bus_ids[] = { | |||
154 | { .name = "soc", }, | 154 | { .name = "soc", }, |
155 | { .type = "soc", }, | 155 | { .type = "soc", }, |
156 | { .compatible = "simple-bus", }, | 156 | { .compatible = "simple-bus", }, |
157 | { .compatible = "gianfar", }, | ||
157 | {}, | 158 | {}, |
158 | }; | 159 | }; |
159 | 160 | ||
diff --git a/arch/powerpc/platforms/85xx/sbc8560.c b/arch/powerpc/platforms/85xx/sbc8560.c index 472f254a19d..cc27807a8b6 100644 --- a/arch/powerpc/platforms/85xx/sbc8560.c +++ b/arch/powerpc/platforms/85xx/sbc8560.c | |||
@@ -213,6 +213,7 @@ static struct of_device_id __initdata of_bus_ids[] = { | |||
213 | { .name = "cpm", }, | 213 | { .name = "cpm", }, |
214 | { .name = "localbus", }, | 214 | { .name = "localbus", }, |
215 | { .compatible = "simple-bus", }, | 215 | { .compatible = "simple-bus", }, |
216 | { .compatible = "gianfar", }, | ||
216 | {}, | 217 | {}, |
217 | }; | 218 | }; |
218 | 219 | ||
diff --git a/arch/powerpc/platforms/85xx/stx_gp3.c b/arch/powerpc/platforms/85xx/stx_gp3.c index 0cca8f5cb27..f559918f3c6 100644 --- a/arch/powerpc/platforms/85xx/stx_gp3.c +++ b/arch/powerpc/platforms/85xx/stx_gp3.c | |||
@@ -145,6 +145,7 @@ static void stx_gp3_show_cpuinfo(struct seq_file *m) | |||
145 | 145 | ||
146 | static struct of_device_id __initdata of_bus_ids[] = { | 146 | static struct of_device_id __initdata of_bus_ids[] = { |
147 | { .compatible = "simple-bus", }, | 147 | { .compatible = "simple-bus", }, |
148 | { .compatible = "gianfar", }, | ||
148 | {}, | 149 | {}, |
149 | }; | 150 | }; |
150 | 151 | ||
diff --git a/arch/powerpc/platforms/85xx/tqm85xx.c b/arch/powerpc/platforms/85xx/tqm85xx.c index 2933a8e827d..5b0ab9966e9 100644 --- a/arch/powerpc/platforms/85xx/tqm85xx.c +++ b/arch/powerpc/platforms/85xx/tqm85xx.c | |||
@@ -153,6 +153,7 @@ static void tqm85xx_show_cpuinfo(struct seq_file *m) | |||
153 | 153 | ||
154 | static struct of_device_id __initdata of_bus_ids[] = { | 154 | static struct of_device_id __initdata of_bus_ids[] = { |
155 | { .compatible = "simple-bus", }, | 155 | { .compatible = "simple-bus", }, |
156 | { .compatible = "gianfar", }, | ||
156 | {}, | 157 | {}, |
157 | }; | 158 | }; |
158 | 159 | ||