From: Vaibhav Gupta <vaibhavgupta40@gmail.com>
To: Bjorn Helgaas <helgaas@kernel.org>,
Bjorn Helgaas <bhelgaas@google.com>,
bjorn@helgaas.com, "David S. Miller" <davem@davemloft.net>,
Jakub Kicinski <kuba@kernel.org>,
Vaibhav Gupta <vaibhav.varodek@gmail.com>
Cc: Vaibhav Gupta <vaibhavgupta40@gmail.com>,
linux-kernel-mentees@lists.linuxfoundation.org,
skhan@linuxfoundation.org, netdev@vger.kernel.org,
linux-parisc@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH v1 0/5] ethernet: dec: tulip: use generic power management
Date: Mon, 22 Jun 2020 17:12:23 +0530 [thread overview]
Message-ID: <20200622114228.60027-1-vaibhavgupta40@gmail.com> (raw)
Linux Kernel Mentee: Remove Legacy Power Management.
The purpose of this patch series is to remove legacy power management
callbacks and invocation of PCI helper functions, from tulip ethernet drivers.
With legacy PM, drivers themselves are responsible for handling the device's
power states. And they do this with the help of PCI helper functions like
pci_enable/disable_device(), pci_set/restore_state(), pci_set_powr_state(), etc.
which is not recommended.
In generic PM, all the required tasks are handled by PCI core and drivers need
to perform device-specific operations only.
All patches are compile-tested only.
Vaibhav Gupta (5):
tulip: dmfe: use generic power management
tulip: windbond-840: use generic power management
tulip: de2104x: use generic power management
tulip: tulip_core: use generic power management
tulip: uli526x: use generic power management
drivers/net/ethernet/dec/tulip/de2104x.c | 25 +++-------
drivers/net/ethernet/dec/tulip/dmfe.c | 49 ++++---------------
drivers/net/ethernet/dec/tulip/tulip_core.c | 51 +++++---------------
drivers/net/ethernet/dec/tulip/uli526x.c | 48 +++---------------
drivers/net/ethernet/dec/tulip/winbond-840.c | 26 +++-------
5 files changed, 45 insertions(+), 154 deletions(-)
--
2.27.0
next reply other threads:[~2020-06-22 11:44 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-22 11:42 Vaibhav Gupta [this message]
2020-06-22 11:42 ` [PATCH v1 1/5] tulip: dmfe: " Vaibhav Gupta
2020-06-22 11:42 ` [PATCH v1 2/5] tulip: windbond-840: " Vaibhav Gupta
2020-06-22 11:42 ` [PATCH v1 3/5] tulip: de2104x: " Vaibhav Gupta
2020-06-22 11:42 ` [PATCH v1 4/5] tulip: tulip_core: " Vaibhav Gupta
2020-06-22 11:42 ` [PATCH v1 5/5] tulip: uli526x: " Vaibhav Gupta
2020-06-24 3:33 ` [PATCH v1 0/5] ethernet: dec: tulip: " 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=20200622114228.60027-1-vaibhavgupta40@gmail.com \
--to=vaibhavgupta40@gmail.com \
--cc=bhelgaas@google.com \
--cc=bjorn@helgaas.com \
--cc=davem@davemloft.net \
--cc=helgaas@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-kernel-mentees@lists.linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-parisc@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=skhan@linuxfoundation.org \
--cc=vaibhav.varodek@gmail.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
all inboxes | Powered by JetHome®