diff options
author | Jakub Kicinski <kuba@kernel.org> | 2021-11-19 06:21:49 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-11-20 12:25:56 +0000 |
commit | 0f98d7e478430b64d9520a23585e02be5f8b1b2a (patch) | |
tree | 9ebc10d141eb8200b8d8364805e6a7ff25c6403b | |
parent | 1388d4ad9d828f7d5ad8327d12fa2afb9abdf08a (diff) |
82596: use eth_hw_addr_set()
Byte by byte assignments.
Fixes build on m68k.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/i825xx/82596.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/i825xx/82596.c b/drivers/net/ethernet/i825xx/82596.c index b482f6f633bd..3ee89ae496d0 100644 --- a/drivers/net/ethernet/i825xx/82596.c +++ b/drivers/net/ethernet/i825xx/82596.c @@ -1178,7 +1178,8 @@ found: DEB(DEB_PROBE,printk(KERN_INFO "%s: 82596 at %#3lx,", dev->name, dev->base_addr)); for (i = 0; i < 6; i++) - DEB(DEB_PROBE,printk(" %2.2X", dev->dev_addr[i] = eth_addr[i])); + DEB(DEB_PROBE,printk(" %2.2X", eth_addr[i])); + eth_hw_addr_set(dev, eth_addr); DEB(DEB_PROBE,printk(" IRQ %d.\n", dev->irq)); |