]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit26848fe4a056d25f485d3a3da13a1d6f2be5cb27
tree0863c7e0d09592ee9f4d568625348ef12e4a30df
parent849778bfa45cd839a0b9d19a4edf3197f0d87a52
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