Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 May 2008 07:37:25 +0100
From:      Bruce Cran <bruce@cran.org.uk>
To:        Ian Smith <smithi@nimnet.asn.au>
Cc:        stable@freebsd.org, "Alexandre \"Sunny\" Kovalenko" <gaijin.k@gmail.com>, jonathan@kc8onw.net
Subject:   Re: ATA APM and NCQ support in FreeBSD atacontrol
Message-ID:  <482A88A5.4060108@cran.org.uk>
In-Reply-To: <Pine.BSF.3.96.1080514150445.26133E-100000@gaia.nimnet.asn.au>
References:  <Pine.BSF.3.96.1080514150445.26133E-100000@gaia.nimnet.asn.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Ian Smith wrote:
> I take Jonathan's point that it would be nice to have this functionality
> in atacontrol, though perhaps the BUGS section in ataidle(8) precludes
> merging that?  cc'ing Bruce Cran in case he wants to add something ..

ataidle is at the moment quite dumb about sending commands: it doesn't 
check that the drive actually supports APM/AAM before sending the 
commands, and that's an easy check to do.  If this was being added to 
atacontrol I think I'd want to do quite a bit of work first to make it 
more robust.  However I don't think the code from ataidle could ever 
just be merged in to atacontrol because the code styles are quite 
different; however since the interface to the ATA driver is quite 
straightforward it should be trivial to re-implement or copy the bits 
needed.

-- 
Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?482A88A5.4060108>