libata: set queue SSD flag for SSD devices
authorJens Axboe <jens.axboe@oracle.com>
Wed, 24 Sep 2008 11:05:10 +0000 (13:05 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 9 Oct 2008 06:56:19 +0000 (08:56 +0200)
commit8bff7c6b0f63c7ee9c5e3a076338d74125b8debb
tree0863c7e0d09592ee9f4d568625348ef12e4a30df
parenta68bbddba486020c9c74825ce90c4c1ec463e0e8
libata: set queue SSD flag for SSD devices

SSD devices should give an RPM setting of 1 in word 217 of the ID
page. If we see such a device, tell the block layer about it.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/ata/libata-scsi.c
include/linux/ata.h