Re: [PATCH] MMC: add a dedicated backend for MMC so that supported-opcode map works

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 20 Aug 2014 16:45:38 -0700
Ronnie Sahlberg <ronniesahlberg@xxxxxxxxx> wrote:

> MMC has been broken for a while since some of the vital opcodes
> (GET_CONFIGURATION) and friends are not in the supported opcode
> whitelist in bs_rdwr.c.
> The real problem is that we have a bs_rdwr.c backend for SBC and we
> piggyback on this SBC backend also for the MMC emulation.
> 
> Add defines for the missing MMC opcodes and create a new backend
> dedicated for MMC that has the proper whitelist for MMC opcodes.
> This new backend is actually part of bs_rdwr.c and shares all the
> code with the SBC based backend.
> However the new MMC backend will have a different name "mmc" to indicate
> it is for the MMC emulation and it comes with a supported opcode
> whitelist that is appropriate for MMC devices.
> 
> Signed-off-by: Ronnie Sahlberg <ronniesahlberg@xxxxxxxxx>
> ---
>  usr/bs_rdwr.c |   54 ++++++++++++++++++++++++++++++++++++++++++++++++++----
>  usr/mmc.c     |    6 +++---
>  usr/scsi.h    |    9 +++++++++
>  3 files changed, 62 insertions(+), 7 deletions(-)

Applied, thanks!
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux