Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 136276
b: refs/heads/master
c: c2fd206
h: refs/heads/master
v: v3
  • Loading branch information
Tony Battersby authored and James Bottomley committed Mar 12, 2009
1 parent c547ebb commit 27e7dbf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 783fa7311b2c639f39c6163f9fbb05253fb2d702
refs/heads/master: c2fd206e08cd55e7ee0d865affc172eb5af01c16
8 changes: 4 additions & 4 deletions trunk/drivers/scsi/sym53c8xx_2/sym_glue.c
Original file line number Diff line number Diff line change
Expand Up @@ -792,9 +792,9 @@ static int sym53c8xx_slave_configure(struct scsi_device *sdev)

/*
* Select queue depth from driver setup.
* Donnot use more than configured by user.
* Use at least 2.
* Donnot use more than our maximum.
* Do not use more than configured by user.
* Use at least 1.
* Do not use more than our maximum.
*/
reqtags = sym_driver_setup.max_tag;
if (reqtags > tp->usrtags)
Expand All @@ -803,7 +803,7 @@ static int sym53c8xx_slave_configure(struct scsi_device *sdev)
reqtags = 0;
if (reqtags > SYM_CONF_MAX_TAG)
reqtags = SYM_CONF_MAX_TAG;
depth_to_use = reqtags ? reqtags : 2;
depth_to_use = reqtags ? reqtags : 1;
scsi_adjust_queue_depth(sdev,
sdev->tagged_supported ? MSG_SIMPLE_TAG : 0,
depth_to_use);
Expand Down

0 comments on commit 27e7dbf

Please sign in to comment.