diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2014-12-08 15:59:18 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-12-09 18:26:08 -0500 |
commit | fb3b596d3c4a8b6e3867079794856637db4e5283 (patch) | |
tree | 923c72b10db37ff606b582bb1165475cb3e66427 /net/tipc/name_table.c | |
parent | 627103797189e4e423848e1b2e2c4af879cb33ac (diff) | |
download | lwn-fb3b596d3c4a8b6e3867079794856637db4e5283.tar.gz lwn-fb3b596d3c4a8b6e3867079794856637db4e5283.zip |
net: systemport: allow changing MAC address
Hook a ndo_set_mac_address callback, update the internal Ethernet MAC in
the netdevice structure, and finally write that address down to the
UniMAC registers. If the interface is down, and most likely clock gated,
we do not update the registers but just the local copy, such that next
ndo_open() call will effectively write down the address.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/name_table.c')
0 files changed, 0 insertions, 0 deletions