summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorBjorn Andersson <bjorn.andersson@linaro.org>2020-04-28 10:01:39 +0300
committerDavid S. Miller <davem@davemloft.net>2020-05-01 06:45:35 +0300
commit78734404ef9c133eac70339415c8028dbe19109a (patch)
tree7c09b9640abbe5fc752abe766d79ec5c6bffa206 /tools/perf/scripts/python/export-to-postgresql.py
parent97fff7c8de1e54e5326dfeb66085796864bceb64 (diff)
downloadlinux-78734404ef9c133eac70339415c8028dbe19109a.tar.xz
net: usb: ax88179_178a: Implement ethtool_ops set_eeprom
The vendor driver does upon failing to read a valid MAC address from EEPROM write the netdev's address back to EEPROM and invoking a EEPROM reload operation. Based on this we can implement the ethtool_ops set_eeprom and provide the means to populate the EEPROM from within Linux. It's worth noting that ax88179_get_eeprom() will return some default data unless the content of the EEPROM is deemed "complete", so until the EEPROM is fully populated (e.g. by running ethtool -e | ethtool -E) data written with ax88179_set_eeprom() will appear not to stick. The implementation is based on asix_set_eeprom(), from asix_common.c Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions