]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: sh_eth: Separate out MAC address programming
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Sun, 21 Jan 2018 13:55:44 +0000 (14:55 +0100)
committerMarek Vasut <marex@denx.de>
Sat, 27 Jan 2018 19:38:53 +0000 (20:38 +0100)
commit68ac92e9378c3453c86de35df0b6700181f4393b
tree345790df2e9e648092f156e44664d1bd60770c91
parent52c15e220bc28eda298d899f552bc023131de7f3
net: sh_eth: Separate out MAC address programming

Pull out the code for writing MAC address into the NIC into a
separate function, so it can be reused by both DM and non-DM
code. This is done in preparation for DM support, which handles
MAC address programming separately.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Cc: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/sh_eth.c