net: fec: add fallback to random MAC address
authorLucas Stach <l.stach@pengutronix.de>
Mon, 3 Jun 2013 00:38:39 +0000 (00:38 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Jun 2013 00:00:32 +0000 (17:00 -0700)
commitff5b2fabf53426c15a5f041505687f94d1b2109f
tree77b814a4b50598ce19b1af1e4e4e70313864024a
parente768fb292d362ff2742d843e346a10853bde68be
net: fec: add fallback to random MAC address

If no valid MAC address could be obtained from the hardware,
fall back to a randomly generated one.

Signed-off-by: Pavel Machek <pavel@denx.de>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec_main.c