[SCSI] scsi_debug: add support for rotation speed
authorMatthew Wilcox <matthew@wil.cx>
Thu, 19 Jun 2008 16:02:58 +0000 (10:02 -0600)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 12 Jul 2008 13:22:30 +0000 (08:22 -0500)
commiteac6e8e449647cbb9efee53977c8bfee0aa7d69e
treefa6ffb7b45f8b99fd139a9993629f9e43119d00f
parentf80f868ec463b0463b332cdb704fe5438f013f98
[SCSI] scsi_debug: add support for rotation speed

Add support for VPD page b1 to scsi_debug

SCSI VPD page b1 reports the nominal rotation speed of the device.
Since scsi_debug is ram-based, claim to be a non-rotating medium.

Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Acked-by: Douglas Gilbert <dougg@torque.net>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/scsi_debug.c