diff options
Diffstat (limited to 'drivers/firewire')
-rw-r--r-- | drivers/firewire/fw-sbp2.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/firewire/fw-sbp2.c b/drivers/firewire/fw-sbp2.c index 624ff3e082f6..c2169d215bf7 100644 --- a/drivers/firewire/fw-sbp2.c +++ b/drivers/firewire/fw-sbp2.c | |||
@@ -1238,6 +1238,12 @@ static int sbp2_scsi_slave_alloc(struct scsi_device *sdev) | |||
1238 | 1238 | ||
1239 | sdev->allow_restart = 1; | 1239 | sdev->allow_restart = 1; |
1240 | 1240 | ||
1241 | /* | ||
1242 | * Update the dma alignment (minimum alignment requirements for | ||
1243 | * start and end of DMA transfers) to be a sector | ||
1244 | */ | ||
1245 | blk_queue_update_dma_alignment(sdev->request_queue, 511); | ||
1246 | |||
1241 | if (lu->tgt->workarounds & SBP2_WORKAROUND_INQUIRY_36) | 1247 | if (lu->tgt->workarounds & SBP2_WORKAROUND_INQUIRY_36) |
1242 | sdev->inquiry_len = 36; | 1248 | sdev->inquiry_len = 36; |
1243 | 1249 | ||