net: xilinx: emaclite: Fallback to random MAC address.
authorDaniel Romell <danielromell@gmail.com>
Fri, 19 Aug 2016 12:12:01 +0000 (14:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 21 Aug 2016 05:11:29 +0000 (22:11 -0700)
commit5575cf133cf7f564da991595c6bc9344afa7d89a
tree8dd0f3158d637570612f265bb0eb6326ab962c0e
parentff2e7d5d51469e98196f7933c83b781e96517e7c
net: xilinx: emaclite: Fallback to random MAC address.

If the address configured in the device tree is invalid, the
driver will fallback to using a random address from the locally
administered range.

Signed-off-by: Daniel Romell <daro@hms.se>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/xilinx/xilinx_emaclite.c