summaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/qdio_setup.c
diff options
context:
space:
mode:
authorChristof Schmitt <christof.schmitt@de.ibm.com>2010-07-16 15:37:41 +0200
committerJames Bottomley <James.Bottomley@suse.de>2010-07-28 16:48:55 +0200
commitdcc18f48a2f1a44c5e8848f30d0cf53a8066c62a (patch)
tree6bf6e20f2309b0a077f328189d9f6656f554cedf /drivers/s390/cio/qdio_setup.c
parent[SCSI] zfcp: Prevent access on uninitialized memory. (diff)
downloadlinux-dcc18f48a2f1a44c5e8848f30d0cf53a8066c62a.tar.xz
linux-dcc18f48a2f1a44c5e8848f30d0cf53a8066c62a.zip
[SCSI] zfcp: Enable data division support for FCP devices
Try to enable data division support for FCP devices and indicate in the adapter status flag if it succeeded. Reviewed-by: Swen Schillig <swen@vnet.ibm.com> Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/s390/cio/qdio_setup.c')
-rw-r--r--drivers/s390/cio/qdio_setup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/s390/cio/qdio_setup.c b/drivers/s390/cio/qdio_setup.c
index 6326b67c45d2..34c7e4046df4 100644
--- a/drivers/s390/cio/qdio_setup.c
+++ b/drivers/s390/cio/qdio_setup.c
@@ -368,6 +368,8 @@ static void setup_qib(struct qdio_irq *irq_ptr,
if (qebsm_possible())
irq_ptr->qib.rflags |= QIB_RFLAGS_ENABLE_QEBSM;
+ irq_ptr->qib.rflags |= init_data->qib_rflags;
+
irq_ptr->qib.qfmt = init_data->q_format;
if (init_data->no_input_qs)
irq_ptr->qib.isliba =