aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/firewire/fw-sbp2.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/firewire/fw-sbp2.c b/drivers/firewire/fw-sbp2.c
index 851c2da060d2..49f7fd52ae87 100644
--- a/drivers/firewire/fw-sbp2.c
+++ b/drivers/firewire/fw-sbp2.c
@@ -34,6 +34,7 @@
34#include <linux/device.h> 34#include <linux/device.h>
35#include <linux/scatterlist.h> 35#include <linux/scatterlist.h>
36#include <linux/dma-mapping.h> 36#include <linux/dma-mapping.h>
37#include <linux/blkdev.h>
37#include <linux/timer.h> 38#include <linux/timer.h>
38 39
39#include <scsi/scsi.h> 40#include <scsi/scsi.h>
@@ -1080,7 +1081,8 @@ static int sbp2_scsi_slave_configure(struct scsi_device *sdev)
1080 fw_notify("setting fix_capacity for %s\n", unit->device.bus_id); 1081 fw_notify("setting fix_capacity for %s\n", unit->device.bus_id);
1081 sdev->fix_capacity = 1; 1082 sdev->fix_capacity = 1;
1082 } 1083 }
1083 1084 if (sd->workarounds & SBP2_WORKAROUND_128K_MAX_TRANS)
1085 blk_queue_max_sectors(sdev->request_queue, 128 * 1024 / 512);
1084 return 0; 1086 return 0;
1085} 1087}
1086 1088