]> git.baikalelectronics.ru Git - kernel.git/commit
net: pxa168_eth: set the mac address on the Ethernet controller
authorAntoine Ténart <antoine.tenart@free-electrons.com>
Tue, 30 Sep 2014 14:28:11 +0000 (16:28 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Sep 2014 20:36:12 +0000 (16:36 -0400)
commitaa21ecff186f71575651e59d366739290915164e
tree17f596b84153e9f674254802d7a6915ef853580c
parent8736cbe8a4de1d369fe3df51f27d6f7f456bca03
net: pxa168_eth: set the mac address on the Ethernet controller

When changing the MAC address, in addition to updating the dev_addr in
the net_device structure, this patch also update the MAC address
registers (high and low) of the Ethernet controller with the new MAC.
The address stored in these registers is used for IEEE 802.3x Ethernet
flow control, which is already enabled.

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/pxa168_eth.c