[PATCH] Fix broken MMC emulation

Ronnie Sahlberg <[email protected]> Tue, 19 Aug 2014 20:00:08 -0700
Newsgroups org.kernel.vger.stgt
Message-ID <[email protected]>
List, Tomo,

Please find a patch that repairs MMC.

MMC emulation has been broken for a while, and it saddens me that no one
has complained since it means no one is using it :-(


We need to add the MMC specific opcodes to the map of SUPPORTED_OPCODES we
build for the MMC backend since we share this backend with SBC.
Otherwise the target will return INVALID_OPCODE for some of the key
opcodes needed for the medium discovery.

With this patch MMC emulation works again.


Ronnie Sahlberg (1):
  bs_rdwr.c: add missing MMC opcodes to the backing store defs

 usr/bs_rdwr.c |   10 ++++++++++
 usr/scsi.h    |    9 +++++++++
 2 files changed, 19 insertions(+), 0 deletions(-)

-- 
1.7.3.1