From a8ba76a527ead17ebb0ed09ca3fe7703e6e6d8e4 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Wed, 30 Mar 2011 18:54:55 +0000 Subject: [PATCH] Our vcdrom implementation is pretty minimalistic and doesn't support all mandatory commands, so it's better to not claim any standard confirmance. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3327 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/dev_handlers/scst_vdisk.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scst/src/dev_handlers/scst_vdisk.c b/scst/src/dev_handlers/scst_vdisk.c index 6756e61c0..0afafa4e8 100644 --- a/scst/src/dev_handlers/scst_vdisk.c +++ b/scst/src/dev_handlers/scst_vdisk.c @@ -3751,7 +3751,13 @@ static ssize_t __vcdrom_add_device(const char *device_name, char *params) if (res != 0) goto out; +#if 0 /* + * Our implementation is pretty minimalistic and doesn't support all + * mandatory commands, so it's better to not claim any standard + * confirmance. + */ virt_dev->command_set_version = 0x02A0; /* MMC-3 */ +#endif virt_dev->rd_only = 1; virt_dev->removable = 1;