summaryrefslogtreecommitdiff
path: root/net/tipc/name_table.c
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2014-12-08 15:59:18 -0800
committerDavid S. Miller <davem@davemloft.net>2014-12-09 18:26:08 -0500
commitfb3b596d3c4a8b6e3867079794856637db4e5283 (patch)
tree923c72b10db37ff606b582bb1165475cb3e66427 /net/tipc/name_table.c
parent627103797189e4e423848e1b2e2c4af879cb33ac (diff)
downloadlinux-fb3b596d3c4a8b6e3867079794856637db4e5283.tar.gz
linux-fb3b596d3c4a8b6e3867079794856637db4e5283.tar.xz
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