From a6281cdad2764b2632ce73c5f2ae5ac776310707 Mon Sep 17 00:00:00 2001 From: Boaz Harrosh Date: Sun, 29 Jul 2007 22:18:20 +0300 Subject: [PATCH] --- yaml --- r: 63690 b: refs/heads/master c: b1ee0795276f976118f832313488e6daf83ff542 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/scsi/aha152x.c | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index b3ff02a14018..afcb512b3f11 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 50535df3ee3d3407ff61044692942288df7fcd6a +refs/heads/master: b1ee0795276f976118f832313488e6daf83ff542 diff --git a/trunk/drivers/scsi/aha152x.c b/trunk/drivers/scsi/aha152x.c index 0afc0c965333..c841f11f4e32 100644 --- a/trunk/drivers/scsi/aha152x.c +++ b/trunk/drivers/scsi/aha152x.c @@ -3474,6 +3474,12 @@ static int aha152x_proc_info(struct Scsi_Host *shpnt, char *buffer, char **start return thislength < length ? thislength : length; } +static int aha152x_adjust_queue(struct scsi_device *device) +{ + blk_queue_bounce_limit(device->request_queue, BLK_BOUNCE_HIGH); + return 0; +} + static struct scsi_host_template aha152x_driver_template = { .module = THIS_MODULE, .name = AHA152X_REVID, @@ -3490,6 +3496,7 @@ static struct scsi_host_template aha152x_driver_template = { .sg_tablesize = SG_ALL, .cmd_per_lun = 1, .use_clustering = DISABLE_CLUSTERING, + .slave_alloc = aha152x_adjust_queue, }; #if !defined(PCMCIA)