gianfar: Enable changing mac addr when if up
authorClaudiu Manoil <claudiu.manoil@freescale.com>
Wed, 6 May 2015 15:07:30 +0000 (18:07 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 May 2015 21:37:46 +0000 (17:37 -0400)
commit3d23a05c75c7e2f45efb4f2550ce17a150c88b2d
tree18a4d82102e9392e1e55037eed75b58cc31bde00
parentbc602280871cdedc906f622b036f5799f16c13c2
gianfar: Enable changing mac addr when if up

Use device flag IFF_LIVE_ADDR_CHANGE to signal that
the device supports changing the hardware address when
the device is running.
This allows eth_mac_addr() to change the mac address
also when the network device's interface is open.
This capability is required by certain applications,
like bonding mode 6 (Adaptive Load Balancing).

Signed-off-by: Claudiu Manoil <claudiu.manoil@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/gianfar.c