diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2021-09-10 09:24:07 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2021-10-26 03:20:21 +0300 |
commit | 48225f1878bde8a4ec3c2a96bbf81161e32f03f8 (patch) | |
tree | c61bf081f83c307970cdd7b142bc3ad4a44edd20 /security | |
parent | 3331325c6347492dfbe31f6b2bfdaee9b0689cd5 (diff) | |
download | linux-48225f1878bde8a4ec3c2a96bbf81161e32f03f8.tar.xz |
cxgb3: Remove t3_seeprom_read and use VPD API
Using the VPD API allows to simplify the code and completely get rid
of t3_seeprom_read(). Note that we don't have to use pci_read_vpd_any()
here because a VPD quirk sets dev->vpd.len to the full EEPROM size.
Tested with a T320 card.
Link: https://lore.kernel.org/r/68ef15bb-b6bf-40ad-160c-aaa72c4a70f8@gmail.com
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions