diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2008-02-25 19:43:20 -0500 |
---|---|---|
committer | Josh Boyer <jwboyer@linux.vnet.ibm.com> | 2008-03-26 08:19:16 -0400 |
commit | ecc6cd73b7ccfa10c1f07d017fc7f62fe78eaab5 (patch) | |
tree | a98a3e830ad2e59959c156fb79f5c2c25024eb44 /arch/powerpc/boot/dts/sequoia.dts | |
parent | 54f53f2b94feb72622bec7a8563fc487d9f97720 (diff) |
[POWERPC] Start removing linux,network-index in favour of aliases
This patch alters the bootwrapper for a number of machines (roubhly
all 4xx based cuboot or treeboot platforms) to use aliases instead of
the linux,network-index hack to work out which MAC address to attach
to which ethernet device node.
The now obsolete linux,network-index properties are removed from the
corresponding device trees. This won't break backwards compatiblity,
because in cases where this fixup code is relevant, the device tree is
part of the kernel image.
The references to linux,network-index are removed from
booting-without-of.txt. Not only is it now deprecated, but as a hack
applicable only when the device tree blob and fixup code were in the
same image, this property never belonged in booting-without-of.txt
which describes the interface between the kernel and firmware or
bootloaders which produce a device tree. By the time the device tree
reaches the kernel, all the MAC addresses must be fully filled in.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Diffstat (limited to 'arch/powerpc/boot/dts/sequoia.dts')
-rw-r--r-- | arch/powerpc/boot/dts/sequoia.dts | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/boot/dts/sequoia.dts b/arch/powerpc/boot/dts/sequoia.dts index 8db9515d7dc3..675026bf1fb0 100644 --- a/arch/powerpc/boot/dts/sequoia.dts +++ b/arch/powerpc/boot/dts/sequoia.dts | |||
@@ -269,7 +269,6 @@ | |||
269 | }; | 269 | }; |
270 | 270 | ||
271 | EMAC0: ethernet@ef600e00 { | 271 | EMAC0: ethernet@ef600e00 { |
272 | linux,network-index = <0>; | ||
273 | device_type = "network"; | 272 | device_type = "network"; |
274 | compatible = "ibm,emac-440epx", "ibm,emac4"; | 273 | compatible = "ibm,emac-440epx", "ibm,emac4"; |
275 | interrupt-parent = <&EMAC0>; | 274 | interrupt-parent = <&EMAC0>; |
@@ -299,7 +298,6 @@ | |||
299 | }; | 298 | }; |
300 | 299 | ||
301 | EMAC1: ethernet@ef600f00 { | 300 | EMAC1: ethernet@ef600f00 { |
302 | linux,network-index = <1>; | ||
303 | device_type = "network"; | 301 | device_type = "network"; |
304 | compatible = "ibm,emac-440epx", "ibm,emac4"; | 302 | compatible = "ibm,emac-440epx", "ibm,emac4"; |
305 | interrupt-parent = <&EMAC1>; | 303 | interrupt-parent = <&EMAC1>; |