]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit712a17db45cefcc67aecd2a78c8830c16ad78293
treeb402f8b34264219d422c88d9186a5a929c535671
parent3249f6956f761b92400b853b48a7046b8781ed8a
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