Re: [PATCH] libata support for rotation speed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Matthew Wilcox wrote:
On Thu, Jun 19, 2008 at 03:01:33PM -0400, Jeff Garzik wrote:
Matthew Wilcox wrote:
On Thu, Jun 19, 2008 at 01:24:55PM -0500, James Bottomley wrote:
This looks like it can be called for ATA_DEV_ATAPI as well, in which
case it's an illegal page to ask for.
I was under the impression that this entire file is only used for
non-atapi devices.
Correct.  That code path is not travelled by ATAPI.

Thanks, Jeff.  Here's version three, including the form factor from word
168:


Add support for VPD page b1 to libata

SCSI VPD page b1 reports the nominal rotation speed and physical size
of the device.  Devices that conform to ATA-8 can return this information
in words 217 and 168 of the identify data.

Signed-off-by: Matthew Wilcox <willy@xxxxxxxxxxxxxxx>

applied (2.6.27)


--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux