From: "Rafael J. Wysocki" Subject: Re: [PATCH 1/6] Hibernation: Introduce system_entering_hibernation Date: Sat, 4 Oct 2008 12:13:21 +0200 Message-ID: <200810041213.22249.rjw@sisk.pl> References: <200808290002.55026.rjw@sisk.pl> <200810032351.46869.rjw@sisk.pl> <20081004002724.47fab174@lxorguk.ukuu.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from ogre.sisk.pl ([217.79.144.158]:43060 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752179AbYJDKJJ (ORCPT ); Sat, 4 Oct 2008 06:09:09 -0400 In-Reply-To: <20081004002724.47fab174@lxorguk.ukuu.org.uk> Content-Disposition: inline Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Alan Cox Cc: Andrew Morton , Jeff Garzik , Tejun Heo , ACPI Devel Maling List , linux-ide@vger.kernel.org, Thomas Renninger , Robert Hancock , LKML , Frans Pop , Maciej Rutecki On Saturday, 4 of October 2008, Alan Cox wrote: > > in the final phase of hibernation. In particular, some SATA drivers > > are going to use it for blacklisting systems in which the disks > > should not be spun down during the last phase of hibernation (the > > BIOS will do that anyway). > > If you added the PCI ids for the controller to your tables you could > implement this series once instead of in multiple drivers Hm, I'm not sure what you mean exactly, but the point is to blacklist the on-board controllers only and a devfn of the controller is needed for that, or a part of it (like the slot number I'm using). Could that be done above the driver level?