diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2021-11-18 21:04:23 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-11-19 12:21:46 +0100 |
commit | 92e888bc6f1b84cb4dee23d768777362221be1d4 (patch) | |
tree | eb704389b832a8af3ed0653bb3926381ab10d0fc /net/dccp/trace.h | |
parent | net: ipa: Use 'for_each_clear_bit' when possible (diff) | |
download | linux-92e888bc6f1b84cb4dee23d768777362221be1d4.tar.xz linux-92e888bc6f1b84cb4dee23d768777362221be1d4.zip |
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 <hkallweit1@gmail.com>
Reviewed-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/trace.h')
0 files changed, 0 insertions, 0 deletions