net: sunxi-emac: Write HW address via function
authoroliver@schinagl.nl <oliver@schinagl.nl>
Fri, 25 Nov 2016 15:38:34 +0000 (16:38 +0100)
committerJoe Hershberger <joe.hershberger@ni.com>
Sun, 26 Mar 2017 14:40:57 +0000 (09:40 -0500)
commitace1520cb5fc2628aa3bbe426d4066d2806d951c
tree4cbbe27e9854890e54ff0926d17f851226e407d4
parent5cf618ee60a752d058a767372ca1ecb8d9c09b16
net: sunxi-emac: Write HW address via function

Currently the mac address is programmed directly in _sunxi_emac_eth_init
making it a one time inflexible operation. By moving it into a separate
function, we can now use this more flexibly.

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/sunxi_emac.c