diff options
-rw-r--r-- | drivers/scsi/sr.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/scsi/sr.c b/drivers/scsi/sr.c index ec73223ad2ea..18a3b756c63c 100644 --- a/drivers/scsi/sr.c +++ b/drivers/scsi/sr.c | |||
@@ -763,8 +763,9 @@ static void get_capabilities(struct scsi_cd *cd) | |||
763 | /* failed, drive doesn't have capabilities mode page */ | 763 | /* failed, drive doesn't have capabilities mode page */ |
764 | cd->cdi.speed = 1; | 764 | cd->cdi.speed = 1; |
765 | cd->cdi.mask |= (CDC_CD_R | CDC_CD_RW | CDC_DVD_R | | 765 | cd->cdi.mask |= (CDC_CD_R | CDC_CD_RW | CDC_DVD_R | |
766 | CDC_DVD | CDC_DVD_RAM | | 766 | CDC_DVD | CDC_DVD_RAM | |
767 | CDC_SELECT_DISC | CDC_SELECT_SPEED); | 767 | CDC_SELECT_DISC | CDC_SELECT_SPEED | |
768 | CDC_MRW | CDC_MRW_W | CDC_RAM); | ||
768 | kfree(buffer); | 769 | kfree(buffer); |
769 | printk("%s: scsi-1 drive\n", cd->cdi.name); | 770 | printk("%s: scsi-1 drive\n", cd->cdi.name); |
770 | return; | 771 | return; |