Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27089
b: refs/heads/master
c: 78a904b
h: refs/heads/master
i:
  27087: 76673e3
v: v3
  • Loading branch information
Randy.Dunlap authored and James Bottomley committed May 19, 2006
1 parent dfbe379 commit 77e53cd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4ff42a669a9ad3eb8274da31c7baabd968c2d365
refs/heads/master: 78a904b65420e02bf964af6a83c1fd7a85e0b59d
7 changes: 7 additions & 0 deletions trunk/drivers/scsi/ppa.c
Original file line number Diff line number Diff line change
Expand Up @@ -982,6 +982,12 @@ static int device_check(ppa_struct *dev)
return -ENODEV;
}

static int ppa_adjust_queue(struct scsi_device *device)
{
blk_queue_bounce_limit(device->request_queue, BLK_BOUNCE_HIGH);
return 0;
}

static struct scsi_host_template ppa_template = {
.module = THIS_MODULE,
.proc_name = "ppa",
Expand All @@ -997,6 +1003,7 @@ static struct scsi_host_template ppa_template = {
.cmd_per_lun = 1,
.use_clustering = ENABLE_CLUSTERING,
.can_queue = 1,
.slave_alloc = ppa_adjust_queue,
};

/***************************************************************************
Expand Down

0 comments on commit 77e53cd

Please sign in to comment.