aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/aha152x.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/scsi/aha152x.c b/drivers/scsi/aha152x.c
index 0afc0c965333..c841f11f4e32 100644
--- a/drivers/scsi/aha152x.c
+++ b/drivers/scsi/aha152x.c
@@ -3474,6 +3474,12 @@ static int aha152x_proc_info(struct Scsi_Host *shpnt, char *buffer, char **start
3474 return thislength < length ? thislength : length; 3474 return thislength < length ? thislength : length;
3475} 3475}
3476 3476
3477static int aha152x_adjust_queue(struct scsi_device *device)
3478{
3479 blk_queue_bounce_limit(device->request_queue, BLK_BOUNCE_HIGH);
3480 return 0;
3481}
3482
3477static struct scsi_host_template aha152x_driver_template = { 3483static struct scsi_host_template aha152x_driver_template = {
3478 .module = THIS_MODULE, 3484 .module = THIS_MODULE,
3479 .name = AHA152X_REVID, 3485 .name = AHA152X_REVID,
@@ -3490,6 +3496,7 @@ static struct scsi_host_template aha152x_driver_template = {
3490 .sg_tablesize = SG_ALL, 3496 .sg_tablesize = SG_ALL,
3491 .cmd_per_lun = 1, 3497 .cmd_per_lun = 1,
3492 .use_clustering = DISABLE_CLUSTERING, 3498 .use_clustering = DISABLE_CLUSTERING,
3499 .slave_alloc = aha152x_adjust_queue,
3493}; 3500};
3494 3501
3495#if !defined(PCMCIA) 3502#if !defined(PCMCIA)