diff options
author | Dan Williams <dan.j.williams@intel.com> | 2011-06-01 19:00:01 -0400 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2011-07-03 07:04:50 -0400 |
commit | 7c78da3175177c905a75c54b5830029c778494ea (patch) | |
tree | 6b5f74e75ec0a0393ed5ed504bda78765ef66570 /drivers/scsi/isci/request.h | |
parent | dbb0743a58825d94f1b3fdfa90a8d61dfef88f7b (diff) |
isci: remove 'min memory' infrastructure
The old 'core' had aspirations of running in severely memory constrained
environments like bios option-rom, it's not needed for Linux and gets in
the way of other cleanups (like unifying/reducing the number of structure
members in scic_sds_controller/isci_host).
This also fixes a theoretical bug in that the driver would blindly override
the silicon advertised limits for number of ports, task contexts, and remote
node contexts.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/scsi/isci/request.h')
-rw-r--r-- | drivers/scsi/isci/request.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/isci/request.h b/drivers/scsi/isci/request.h index 757cd99ae2ed..547c35cbe459 100644 --- a/drivers/scsi/isci/request.h +++ b/drivers/scsi/isci/request.h | |||
@@ -213,7 +213,7 @@ struct scic_sds_request { | |||
213 | struct scu_task_context tc ____cacheline_aligned; | 213 | struct scu_task_context tc ____cacheline_aligned; |
214 | 214 | ||
215 | /* could be larger with sg chaining */ | 215 | /* could be larger with sg chaining */ |
216 | #define SCU_SGL_SIZE ((SCU_IO_REQUEST_SGE_COUNT + 1) / 2) | 216 | #define SCU_SGL_SIZE ((SCI_MAX_SCATTER_GATHER_ELEMENTS + 1) / 2) |
217 | struct scu_sgl_element_pair sg_table[SCU_SGL_SIZE] __attribute__ ((aligned(32))); | 217 | struct scu_sgl_element_pair sg_table[SCU_SGL_SIZE] __attribute__ ((aligned(32))); |
218 | 218 | ||
219 | /* | 219 | /* |