summaryrefslogtreecommitdiff
path: root/include/linux/const.h
diff options
context:
space:
mode:
authorMartin K. Petersen <martin.petersen@oracle.com>2009-05-15 04:40:35 (GMT)
committerJeff Garzik <jgarzik@redhat.com>2009-05-15 18:14:56 (GMT)
commit4bca3286433585b5f1c3e7d8ac37a2f4b3def9ca (patch)
tree54188630bb30858acf409df5bd07b7f31bf575ec /include/linux/const.h
parent61d79a8eb362f826a002d3d14c4f9a070a818542 (diff)
downloadlinux-fsl-qoriq-4bca3286433585b5f1c3e7d8ac37a2f4b3def9ca.tar.xz
libata: Media rotation rate and form factor heuristics
This patch provides new heuristics for parsing both the form factor and media rotation rate ATA IDENFITY words. The reported ATA version must be 7 or greater and the device must return values defined as valid in the standard. Only then are the characteristics reported to SCSI via the VPD B1 page. This seems like a reasonable compromise to me considering that we have been shipping several kernel releases that key off the rotation rate bit without any version checking whatsoever. With no complaints so far. Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'include/linux/const.h')
0 files changed, 0 insertions, 0 deletions