mbox series

[v4,0/3] net/ethernet/intel: PCI cleanups

Message ID 20231121123428.20907-1-ilpo.jarvinen@linux.intel.com (mailing list archive)
Headers show
Series net/ethernet/intel: PCI cleanups | expand

Message

Ilpo Järvinen Nov. 21, 2023, 12:34 p.m. UTC
Resending these PCI related cleanups for Intel Ethernet drivers. No
other changes except removing the accepted patches in v4.

These can go through the usual driver tree as there are no PCI tree
related dependencies.

v4:
- Removed accepted patches

Ilpo Järvinen (3):
  igb: Use FIELD_GET() to extract Link Width
  e1000e: Use PCI_EXP_LNKSTA_NLW & FIELD_GET() instead of custom
    defines/code
  e1000e: Use pcie_capability_read_word() for reading LNKSTA

 drivers/net/ethernet/intel/e1000e/defines.h |  3 ---
 drivers/net/ethernet/intel/e1000e/mac.c     | 18 ++++++++----------
 drivers/net/ethernet/intel/igb/e1000_mac.c  |  6 +++---
 3 files changed, 11 insertions(+), 16 deletions(-)