From: Shawn Guo Date: Wed, 5 Jan 2011 21:13:11 +0000 (+0000) Subject: net/fec: add mac field into platform data and consolidate fec_get_mac X-Git-Tag: v2.6.38-rc1~403^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49da97dcb6b00a6869bbc3fa6ec7fdfd8a6e41a3;p=pandora-kernel.git net/fec: add mac field into platform data and consolidate fec_get_mac Add mac field into fec_platform_data and consolidate function fec_get_mac to get mac address in following order. 1) module parameter via kernel command line fec.macaddr=0x00,0x04,... 2) from flash in case of CONFIG_M5272 or fec_platform_data mac field for others, which typically have mac stored in fuse 3) fec mac address registers set by bootloader Signed-off-by: Shawn Guo Signed-off-by: David S. Miller --- Reading git-diff-tree failed