aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJohannes Dickgreber <tanzy@gmx.de>2007-09-20 01:07:50 +0200
committerJames Bottomley <jejb@mulgrave.localdomain>2007-10-23 12:35:35 -0400
commit20d2d3afa87781fe2674ce17bfb16af08a436e81 (patch)
tree3d87dc68698fd11caefe4ea72defdfb7579fff21 /drivers
parentfc2adcfd37f6f1c32d246b5b43f83e38233358ae (diff)
[SCSI] qla1280: eliminate wasted space in request and response ring
i think there is wasted space in allocated pages for request and response rings. The allocations are made with REQUEST_ENTRY_CNT + 1 and RESPONSE_ENTRY_CNT + 1, but they are set with 256 and 16. So we got more pages, which we dont use very much so eliminate them. Signed-off-by: Johannes Dickgreber <tanzy@gmx.de> Acked-by: Jes Sorensen <jes@sgi.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/qla1280.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/qla1280.h b/drivers/scsi/qla1280.h
index 59915fb7030..ff2c363ead2 100644
--- a/drivers/scsi/qla1280.h
+++ b/drivers/scsi/qla1280.h
@@ -91,8 +91,8 @@
#define INVALID_HANDLE (MAX_OUTSTANDING_COMMANDS + 2)
/* ISP request and response entry counts (37-65535) */
-#define REQUEST_ENTRY_CNT 256 /* Number of request entries. */
-#define RESPONSE_ENTRY_CNT 16 /* Number of response entries. */
+#define REQUEST_ENTRY_CNT 255 /* Number of request entries. */
+#define RESPONSE_ENTRY_CNT 63 /* Number of response entries. */
/*
* SCSI Request Block structure (sp) that is placed