diff options
| author | Heiner Kallweit <[email protected]> | 2021-11-18 21:04:23 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-11-19 11:21:46 +0000 |
| commit | 92e888bc6f1b84cb4dee23d768777362221be1d4 (patch) | |
| tree | eb704389b832a8af3ed0653bb3926381ab10d0fc /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | a6366b13c165e5d8d8b06d8d732a4f98bfb8ef66 (diff) | |
sky2: use PCI VPD API in eeprom ethtool ops
Recently pci_read/write_vpd_any() have been added to the PCI VPD API.
These functions allow to access VPD address space outside the
auto-detected VPD, and they can be used to significantly simplify the
eeprom ethtool ops.
Tested with a 88E8070 card with 1KB EEPROM.
Signed-off-by: Heiner Kallweit <[email protected]>
Reviewed-by: Stephen Hemminger <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions