Setting MAC address

MAC address can be set in sromc-bus node of the smdk5250 device tree file.

Add the directive local-mac-address to the sromc-bus node in the file arch/arm/boot/dts/exynos5250-smdk5250.dts

 sromc-bus {
           lan9215@1,0 {
                 compatible = "smsc,lan9215", "smsc,lan9115";
                 reg = <1 0 0x20000>;
                 interrupts = <5 0>;
                 interrupt-parent = <&wakeup_eint>;
                 phy-mode = "mii";
                 smsc,irq-push-pull;
                 smsc,force-internal-phy;
                 local-mac-address = [ mac address ];
          };
  };

Boards/setmac (last modified 2012-07-26 05:29:15)