[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <48E7E5B1.8010101@gmail.com>
Date: Sun, 05 Oct 2008 06:52:49 +0900
From: Tejun Heo <htejun@...il.com>
To: Alan Cox <alan@...rguk.ukuu.org.uk>
CC: "Rafael J. Wysocki" <rjw@...k.pl>,
Andrew Morton <akpm@...ux-foundation.org>,
Jeff Garzik <jeff@...zik.org>,
ACPI Devel Maling List <linux-acpi@...r.kernel.org>,
linux-ide@...r.kernel.org, Thomas Renninger <trenn@...e.de>,
Robert Hancock <hancockr@...w.ca>,
LKML <linux-kernel@...r.kernel.org>,
Frans Pop <elendil@...net.nl>,
Maciej Rutecki <maciej.rutecki@...il.com>
Subject: Re: [PATCH 1/6] Hibernation: Introduce system_entering_hibernation
Alan Cox wrote:
>> 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?
>
> It can be done in one place via the libata core code I think rather than
> in each driver. Might need to be a helper function but you'd at least
> remove all the duplication.
I think it's better to keep the list in each LLD but having a helper in
libata-core would be nice.
Thanks.
--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists