Re: [PATCH 1/4] scsi: Allow hosts to be flagged as hotpluggable

Matthew Garrett
2009-07-16T14:45:36Z

On Thu, Jul 16, 2009 at 02:43:19PM +0000, James Bottomley wrote:
> On Thu, 2009-07-16 at 15:38 +0100, Matthew Garrett wrote:
> > Exactly.
>
> OK, so if this is only in relation to SATA power management, put it in
> libata and call it something like pm_capable. That way we don't have to
> work out what to do with it for the rest of SCSI.

I have vague memories of this coming up before and it being suggested
that it should be done at the SCSI layer instead, but I can't find that
now. Doing it entirely in libata certainly isn't a problem.

--
Matthew Garrett | mjg59@srcf.ucam.org