diff options
author | Shawn Guo <shawn.guo@freescale.com> | 2011-01-05 21:13:11 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-01-09 15:42:55 -0800 |
commit | 49da97dcb6b00a6869bbc3fa6ec7fdfd8a6e41a3 (patch) | |
tree | 8d558ccfa1cd3c7c20bf0822250a4631d00519c4 /scripts/module-common.lds | |
parent | 8649a230e33320b00f778a6f7c17a2764e844730 (diff) | |
download | blackbird-op-linux-49da97dcb6b00a6869bbc3fa6ec7fdfd8a6e41a3.tar.gz blackbird-op-linux-49da97dcb6b00a6869bbc3fa6ec7fdfd8a6e41a3.zip |
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 <shawn.guo@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/module-common.lds')
0 files changed, 0 insertions, 0 deletions