net: ethernet: bgmac: Allow MAC address to be specified in DTB
authorSteve Lin <steven.lin1@broadcom.com>
Thu, 16 Mar 2017 15:48:58 +0000 (11:48 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Mar 2017 18:57:26 +0000 (11:57 -0700)
commit2f771399a3a2c371c140ff33544a583c6fbc5fd9
treeb402f8b34264219d422c88d9186a5a929c535671
parent01ac2994c0d566f2e816ef0c88ab8e4f8b1b3ed1
net: ethernet: bgmac: Allow MAC address to be specified in DTB

Allows the BCMA version of the bgmac driver to obtain MAC address
from the device tree.  If no MAC address is specified there, then
the previous behavior (obtaining MAC address from SPROM) is
used.

Signed-off-by: Steve Lin <steven.lin1@broadcom.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Jon Mason <jon.mason@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bgmac-bcma.c