]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[POWERPC] mpc8349: Add linux,network-index to ethernet nodes in device tree
authorGrant Likely <grant.likely@secretlab.ca>
Thu, 30 Aug 2007 20:26:24 +0000 (06:26 +1000)
committerPaul Mackerras <paulus@samba.org>
Sat, 22 Sep 2007 04:49:22 +0000 (14:49 +1000)
cuImage needs to know the logical index of the ethernet devices in order
to assign mac addresses.  This adds the needed properties.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
CC: Scott Wood <scottwood@freescale.com>
CC: Kumar Gala <galak@kernel.crashing.org>
CC: Timur Tabi <timur@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/boot/dts/mpc8349emitx.dts
arch/powerpc/boot/dts/mpc8349emitxgp.dts
arch/powerpc/boot/dts/mpc834x_mds.dts

index 67781601b6b3bd0d715815fa946bac82398e69b4..f5c3086bcb5df5a259b4da0f9a2a4d55666150ca 100644 (file)
                        interrupts = <20 8 21 8 22 8>;
                        interrupt-parent = < &ipic >;
                        phy-handle = < &phy1c >;
+                       linux,network-index = <0>;
                };
 
                ethernet@25000 {
                        interrupts = <23 8 24 8 25 8>;
                        interrupt-parent = < &ipic >;
                        phy-handle = < &phy1f >;
+                       linux,network-index = <1>;
                };
 
                serial@4500 {
index fa852ba1b6ba7de9db6d6adc22e90e32798d1092..36a27607f7666d6b5ebd23edb11eb251e8a0998d 100644 (file)
                        interrupts = <20 8 21 8 22 8>;
                        interrupt-parent = < &ipic >;
                        phy-handle = < &phy1c >;
+                       linux,network-index = <0>;
                };
 
                serial@4500 {
index 1b8882e2004021f3df12390d383c3e3267cc40f9..c27e2fff5d58372056dd6d20314e4c2baea2f84c 100644 (file)
                        interrupts = <20 8 21 8 22 8>;
                        interrupt-parent = < &ipic >;
                        phy-handle = < &phy0 >;
+                       linux,network-index = <0>;
                };
 
                ethernet@25000 {
                        interrupts = <23 8 24 8 25 8>;
                        interrupt-parent = < &ipic >;
                        phy-handle = < &phy1 >;
+                       linux,network-index = <1>;
                };
 
                serial@4500 {