From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesse Barnes Subject: Re: [PATCH 2/4] PCI PM: Make more PCI PM core functionality available to drivers Date: Tue, 22 Jul 2008 14:26:42 -0700 Message-ID: <200807221426.42725.jbarnes@virtuousgeek.org> References: <200807191436.40726.rjw@sisk.pl> <200807191439.25371.rjw@sisk.pl> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit Cc: LKML , Andrew Morton , Jeff Garzik , pm list , netdev@vger.kernel.org, Stephen Hemminger , Randy Dunlap To: "Rafael J. Wysocki" Return-path: In-Reply-To: <200807191439.25371.rjw@sisk.pl> Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Saturday, July 19, 2008 5:39 am Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Make more PCI PM core functionality available to drivers > > * Export pci_pme_capable() so that it can be called directly by > drivers (for example, tg3 needs that). > > * Move the state choosing part of pci_prepare_to_sleep() to a > separate function, pci_target_state(), that can be called directly > by drivers (for example, tg3 needs that). > > Signed-off-by: Rafael J. Wysocki Applied to for-linus. I had to fix things up in light of the kdoc fixes Randy sent, but I think I got them right. Thanks, Jesse