[Stgt-devel] Brown paper bag fix...
Ming Zhang
blackmagic02881
Thu May 24 14:09:47 CEST 2007
On Thu, 2007-05-24 at 16:07 +1000, Mark Harvey wrote:
> What can I say.
>
> I thought I'd tested/compiled before I posted the patches....
>
> diff --git a/usr/mmc.c b/usr/mmc.c
> index f148645..fa0971d 100644
> --- a/usr/mmc.c
> +++ b/usr/mmc.c
> @@ -104,7 +104,7 @@ static int mmc_mode_sense(int host_no, struct scsi_cmd *cmd)
>
> /* MMC devices do not support BLOCK DESCRIPTOR
> * So make sure we have DISABLE BLOCK DESCRIPTOR bit set */
> - sbc[1] | 8;
> + scb[1] |= 8;
>
> return spc_mode_sense(host_no, cmd);
> }
>
i would pass a flag about whether have DBD. i saw DBD is used and not
used all the time. so assume it is always there is not safe.
>
> Cheers
> Mark
> _______________________________________________
> Stgt-devel mailing list
> Stgt-devel at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/stgt-devel
More information about the stgt
mailing list