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 11:21:46 +0000 |
| commit | 92e888bc6f1b84cb4dee23d768777362221be1d4 (patch) | |
| tree | eb704389b832a8af3ed0653bb3926381ab10d0fc /lib/mpi/mpi-bit.c | |
| 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 <hkallweit1@gmail.com>
Reviewed-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions
