From: Manuel Lauss Date: Wed, 21 Jul 2010 12:30:50 +0000 (+0200) Subject: MIPS: au1000_eth: Get ethernet address from platform_data X-Git-Tag: v2.6.36-rc1~563^2~63 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f66736532a6bc593a2d7cda68835a79c23836f1b;p=pandora-kernel.git MIPS: au1000_eth: Get ethernet address from platform_data au1000_eth uses firmware calls to get a valid MAC address, and changes it depending on platform device id. This patch moves this logic out of the driver into the platform device registration part, where boards with supported chips can use whatever firmware interface they need; the default implementation maintains compatibility with existing, YAMON-based firmware. Tested-by: Wolfgang Grandegger Acked-by: Florian Fainelli Signed-off-by: Manuel Lauss To: Linux-MIPS Cc: netdev@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/1481/ Acked-by: David S. Miller Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed