public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [Patch 2.6] s390 - Allow ECKD devices to be used with older controllers and emulation
@ 2008-08-08 18:46 Ivan Warren
  2008-08-13 23:07 ` Fwd: " Frans Pop
  0 siblings, 1 reply; 8+ messages in thread
From: Ivan Warren @ 2008-08-08 18:46 UTC (permalink / raw)
  To: linux-kernel

Crowd,

Apologies if this is not formatted correctly, but I'm fairly new to this 
(submitting patches that is)..

**************
    s390 dasd ECKD drivers issues a Perform Subsystem Function / Prepare 
for Read SubSystem Data with a length of 16.
    However, older hardware and documentation specifies a length of 12 
leading to a possible Incorrect Length indication.
    This patch activates the SLI CCW flag in order to avoid reporting 
the Incorrect Length indication since it is possible that the DASD 
control unit may be expecting a length of 12, not 16.
        -- Ivan Warren (ivan@vmfacility.fr)

diff --git a/drivers/s390/block/dasd_eckd.c b/drivers/s390/block/dasd_eckd.c
index 773b3fe..c4e3935 100644
--- a/drivers/s390/block/dasd_eckd.c
+++ b/drivers/s390/block/dasd_eckd.c
@@ -810,6 +810,7 @@ static int dasd_eckd_read_features(struct 
dasd_device *device)
        ccw->cmd_code = DASD_ECKD_CCW_PSF;
        ccw->count = sizeof(struct dasd_psf_prssd_data);
        ccw->flags |= CCW_FLAG_CC;
+       ccw->flags |= CCW_FLAG_SLI;
        ccw->cda = (__u32)(addr_t) prssdp;

        /* Read Subsystem Data - feature codes */
**************

--Ivan

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-08-21 16:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-08 18:46 [Patch 2.6] s390 - Allow ECKD devices to be used with older controllers and emulation Ivan Warren
2008-08-13 23:07 ` Fwd: " Frans Pop
2008-08-14 15:07   ` Martin Schwidefsky
2008-08-14 18:26     ` [PATCH] S390 : Set SLI on PSF/PRSSD on Dasd ECKD initialisation Ivan Warren
2008-08-15 14:15       ` Stefan Weinhuber
2008-08-18 17:08         ` Ivan Warren
2008-08-18 17:56           ` Frans Pop
2008-08-21 16:32             ` Stefan Weinhuber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox