summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorAntoine Tenart <antoine.tenart@free-electrons.com>2017-09-02 12:06:49 +0300
committerDavid S. Miller <davem@davemloft.net>2017-09-04 06:16:55 +0300
commit688cbaf202df8b4a69f5ccd39e0027f179852d44 (patch)
tree1ce56c330ce8a96fc55fd4eee29261231e55ca5e /scripts/gdb/linux/utils.py
parentd2a6e48e5254f653decc1612f3cbee3e5c8592c7 (diff)
downloadlinux-688cbaf202df8b4a69f5ccd39e0027f179852d44.tar.xz
net: mvpp2: fallback using h/w and random mac if the dt one isn't valid
When using a mac address described in the device tree, a check is made to see if it is valid. When it's not, no fallback is defined. This patches tries to get the mac address from h/w (or use a random one if the h/w one isn't valid) when the dt mac address isn't valid. Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions