diff options
Diffstat (limited to 'drivers/ieee1394/sbp2.c')
-rw-r--r-- | drivers/ieee1394/sbp2.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/ieee1394/sbp2.c b/drivers/ieee1394/sbp2.c index f53f72daae34..5f713a01f044 100644 --- a/drivers/ieee1394/sbp2.c +++ b/drivers/ieee1394/sbp2.c | |||
@@ -1985,11 +1985,8 @@ static int sbp2scsi_slave_alloc(struct scsi_device *sdev) | |||
1985 | lu->sdev = sdev; | 1985 | lu->sdev = sdev; |
1986 | sdev->allow_restart = 1; | 1986 | sdev->allow_restart = 1; |
1987 | 1987 | ||
1988 | /* | 1988 | /* SBP-2 requires quadlet alignment of the data buffers. */ |
1989 | * Update the dma alignment (minimum alignment requirements for | 1989 | blk_queue_update_dma_alignment(sdev->request_queue, 4 - 1); |
1990 | * start and end of DMA transfers) to be a sector | ||
1991 | */ | ||
1992 | blk_queue_update_dma_alignment(sdev->request_queue, 511); | ||
1993 | 1990 | ||
1994 | if (lu->workarounds & SBP2_WORKAROUND_INQUIRY_36) | 1991 | if (lu->workarounds & SBP2_WORKAROUND_INQUIRY_36) |
1995 | sdev->inquiry_len = 36; | 1992 | sdev->inquiry_len = 36; |