Netdev List
 help / color / mirror / Atom feed
* [PATCH v2 0/3] r8169: extend PCI core and switch to device-managed functions in probe
@ 2017-12-12  6:34 Heiner Kallweit
  2017-12-12  6:40 ` [PATCH v2 1/3] PCI: Add pcim_set_mwi(), a device-managed pci_set_mwi() Heiner Kallweit
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Heiner Kallweit @ 2017-12-12  6:34 UTC (permalink / raw)
  To: Realtek linux nic maintainers, Bjorn Helgaas, David Miller
  Cc: netdev@vger.kernel.org, linux-pci@vger.kernel.org

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(-)

-- 
2.15.1

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-12-13 19:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-12  6:34 [PATCH v2 0/3] r8169: extend PCI core and switch to device-managed functions in probe Heiner Kallweit
2017-12-12  6:40 ` [PATCH v2 1/3] PCI: Add pcim_set_mwi(), a device-managed pci_set_mwi() Heiner Kallweit
2017-12-12  6:41 ` [PATCH v2 2/3] r8169: switch to device-managed functions in probe Heiner Kallweit
2017-12-12  6:41 ` [PATCH v2 3/3] r8169: remove netif_napi_del in probe error path Heiner Kallweit
2017-12-13 19:52 ` [PATCH v2 0/3] r8169: extend PCI core and switch to device-managed functions in probe David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox