Commit a4b47d62 authored by Stefan Richter's avatar Stefan Richter

ieee1394: sbp2: relax SCSI DMA alignment

Signed-off-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
parent 4b119e21
...@@ -1985,11 +1985,8 @@ static int sbp2scsi_slave_alloc(struct scsi_device *sdev) ...@@ -1985,11 +1985,8 @@ static int sbp2scsi_slave_alloc(struct scsi_device *sdev)
lu->sdev = sdev; lu->sdev = sdev;
sdev->allow_restart = 1; sdev->allow_restart = 1;
/* /* SBP-2 requires quadlet alignment of the data buffers. */
* Update the dma alignment (minimum alignment requirements for blk_queue_update_dma_alignment(sdev->request_queue, 4 - 1);
* start and end of DMA transfers) to be a sector
*/
blk_queue_update_dma_alignment(sdev->request_queue, 511);
if (lu->workarounds & SBP2_WORKAROUND_INQUIRY_36) if (lu->workarounds & SBP2_WORKAROUND_INQUIRY_36)
sdev->inquiry_len = 36; sdev->inquiry_len = 36;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment