aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/fw-sbp2.c
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2008-01-27 16:31:27 -0500
committerStefan Richter <stefanr@s5r6.in-berlin.de>2008-04-18 11:55:32 -0400
commit8ac3a47cab32e5e5a40de4bc210b5b0063bf6e84 (patch)
tree0bbc0b630c25f5d326db973e4bb103393fe69b88 /drivers/firewire/fw-sbp2.c
parent1dc3bea78b6cd71c2017aa5da076684c049d8b98 (diff)
firewire: fw-sbp2: relax SCSI DMA alignment
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire/fw-sbp2.c')
-rw-r--r--drivers/firewire/fw-sbp2.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/firewire/fw-sbp2.c b/drivers/firewire/fw-sbp2.c
index c7aba5cff5d2..ea62e825a3b6 100644
--- a/drivers/firewire/fw-sbp2.c
+++ b/drivers/firewire/fw-sbp2.c
@@ -1518,11 +1518,8 @@ static int sbp2_scsi_slave_alloc(struct scsi_device *sdev)
1518 1518
1519 sdev->allow_restart = 1; 1519 sdev->allow_restart = 1;
1520 1520
1521 /* 1521 /* SBP-2 requires quadlet alignment of the data buffers. */
1522 * Update the dma alignment (minimum alignment requirements for 1522 blk_queue_update_dma_alignment(sdev->request_queue, 4 - 1);
1523 * start and end of DMA transfers) to be a sector
1524 */
1525 blk_queue_update_dma_alignment(sdev->request_queue, 511);
1526 1523
1527 if (lu->tgt->workarounds & SBP2_WORKAROUND_INQUIRY_36) 1524 if (lu->tgt->workarounds & SBP2_WORKAROUND_INQUIRY_36)
1528 sdev->inquiry_len = 36; 1525 sdev->inquiry_len = 36;