net: e1000: implement eth_write_hwaddr for DM_ETH
authorIan Ray <ian.ray@ge.com>
Wed, 4 Nov 2020 16:26:01 +0000 (17:26 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 19 Jan 2021 14:15:01 +0000 (09:15 -0500)
commit3f8905ade23bcfc6d8d852178993d321da2d02db
tree9316443d1dbb3b33cf6b1cf48ff4f7ef0ad84709
parentfa795f452541ce07b33be603de36cac3c5d7dfcf
net: e1000: implement eth_write_hwaddr for DM_ETH

Implement programming MAC address to the hardware also for device model
configuration.

Fixes: b565b18a294f ("board: ge: bx50v3: Enable DM for PCI and ethernet")
Signed-off-by: Ian Ray <ian.ray@ge.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/net/e1000.c