[SCSI] Mask capabilities for SCSI-1 CD drive
authorChuck Ebbert <76306.1226@compuserve.com>
Thu, 12 Jan 2006 04:58:40 +0000 (23:58 -0500)
committerJames Bottomley <jejb@mulgrave.(none)>
Thu, 12 Jan 2006 17:56:01 +0000 (11:56 -0600)
commitbcc1e382bce8de4f26182c6447916f9c82b0fbe5
tree04f2230d3474ef68c07879be95d8fbbbf9285750
parent6171b5eff2ef3f84333af652e8c7b0838bf72945
[SCSI] Mask capabilities for SCSI-1 CD drive

SCSI-1 CD drives can't do MRW or be opened for writing, so mask off
those capabilities.

Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com>
Acked-by: Jens Axboe <axboe@suse.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/sr.c