diff options
author | Swen Schillig <swen@vnet.ibm.com> | 2007-07-18 10:55:13 +0200 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.localdomain> | 2007-07-18 11:33:12 -0500 |
commit | b4e44590f0811e629faf2de4aea15e752d83ce3d (patch) | |
tree | ca678d714b62976f2c21517a824cfc4eb22118a4 /drivers/s390/scsi/zfcp_def.h | |
parent | aa551daf5cc6fb6c6e09bb993737f9cd46dc7145 (diff) |
[SCSI] zfcp: code cleanup
improve code for buffer enqueue. easy readability and maintainability.
Signed-off-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/s390/scsi/zfcp_def.h')
-rw-r--r-- | drivers/s390/scsi/zfcp_def.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/scsi/zfcp_def.h b/drivers/s390/scsi/zfcp_def.h index 22649639230b..b36dfc40d9fa 100644 --- a/drivers/s390/scsi/zfcp_def.h +++ b/drivers/s390/scsi/zfcp_def.h @@ -126,6 +126,7 @@ zfcp_address_to_sg(void *address, struct scatterlist *list) #define ZFCP_MIN_OUTPUT_THRESHOLD 1 /* ignored by QDIO layer */ #define QDIO_SCSI_QFMT 1 /* 1 for FSF */ +#define QBUFF_PER_PAGE (PAGE_SIZE / sizeof(struct qdio_buffer)) /********************* FSF SPECIFIC DEFINES *********************************/ |