From: Heiner Kallweit <hkallweit1@gmail.com>
To: Realtek linux nic maintainers <nic_swsd@realtek.com>,
Bjorn Helgaas <bhelgaas@google.com>,
David Miller <davem@davemloft.net>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>,
"linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>
Subject: [PATCH v2 0/3] r8169: extend PCI core and switch to device-managed functions in probe
Date: Tue, 12 Dec 2017 07:34:26 +0100 [thread overview]
Message-ID: <36fa928b-e974-c023-de3e-c2bd05f53df2@gmail.com> (raw)
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
next reply other threads:[~2017-12-12 6:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-12 6:34 Heiner Kallweit [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=36fa928b-e974-c023-de3e-c2bd05f53df2@gmail.com \
--to=hkallweit1@gmail.com \
--cc=bhelgaas@google.com \
--cc=davem@davemloft.net \
--cc=linux-pci@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=nic_swsd@realtek.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox