Revision 72ecb8d9 hw/scsi-generic.c
b/hw/scsi-generic.c | ||
---|---|---|
352 | 352 |
case 0: |
353 | 353 |
*len = cmd[4]; |
354 | 354 |
*cmdlen = 6; |
355 |
/* length 0 means 256 blocks */ |
|
356 |
if (*len == 0) |
|
357 |
*len = 256; |
|
355 | 358 |
break; |
356 | 359 |
case 1: |
357 | 360 |
case 2: |
Also available in: Unified diff