From: Tim Harvey Date: Sat, 8 Mar 2014 04:59:53 +0000 (-0800) Subject: sky2: allow mac to come from dt X-Git-Tag: v3.15-rc1~113^2~195 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ee2f8ce1ab8f235bda164295fa0cf39ec1c2400;p=pandora-kernel.git sky2: allow mac to come from dt The driver reads the mac address from the device registers which would need to have been programmed by the bootloader. This patch adds the ability to pull the mac from devicetree via the pci device dt node. Signed-off-by: Tim Harvey Cc: netdev@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: Grant Likely Cc: Rob Herring Changes since v2: - eliminated use of stack tmpaddr per feedback Changes since v1: - simplified based on feedback - fixed formatting Acked-by: Rob Herring Signed-off-by: David S. Miller --- Reading git-diff-tree failed