Skip to content

r8169: extend PCI core and switch to device-managed functions in probe

Heiner Kallweit linux-pci netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyIn review
  2. v13 patches 2 repliesSuperseded

Changes in v2 from the cover letter

Change patch 1 based on Björn's review comments and add his Acked-by.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3PCI: Add pcim_set_mwi(), a device-managed pci_set_mwi()drivers/pci/pci.c include/linux/pci.h+26 -00 replies
2/3r8169: switch to device-managed functions in probedrivers/net/ethernet/realtek/r8169.c+20 -600 replies
3/3r8169: remove netif_napi_del in probe error pathdrivers/net/ethernet/realtek/r8169.c+3 -100 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchBjorn Helgaas
1/3A-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] r8169: extend PCI core and switch to device-managed functions in probe

Probe error path and remove callback can be significantly simplified by using device-managed functions. To be able to do this in the r8169 driver we need a device-managed version of pci_set_mwi first.

v2:
Change patch 1 based on Björn's review comments and add his Acked-by.

Heiner Kallweit (3):
PCI: Add pcim_set_mwi(), a device-managed pci_set_mwi()
r8169: switch to device-managed functions in probe
r8169: remove netif_napi_del in probe error path

 drivers/net/ethernet/realtek/r8169.c | 87 +++++++++---------------------------
 drivers/pci/pci.c                    | 25 +++++++++++
 include/linux/pci.h                  |  1 +
 3 files changed, 46 insertions(+), 67 deletions(-)
Signature · 1 line
2.15.1