Thread (3 messages) flat view 3 messages, 3 authors, 2021-11-19

Re: [PATCH net-next] sky2: use PCI VPD API in eeprom ethtool ops

From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2021-11-18 20:38:19

On Thu, 18 Nov 2021 21:04:23 +0100
Heiner Kallweit [off-list ref] wrote:
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>
---
Looks like a good idea. I don't have sky2 hardware in a system anymore.

Reviewed-by: Stephen Hemminger <stephen@networkplumber.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help