[S390] dasd: tolerate devices that have no feature codes
authorStefan Weinhuber <wein@de.ibm.com>
Tue, 22 Sep 2009 20:58:52 +0000 (22:58 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 22 Sep 2009 20:58:46 +0000 (22:58 +0200)
commit68d1e5f08b13132504752cad54169376739753db
tree8182caac93576fdbe0e2e0921bf46b188854863a
parent5314af693da5149c2361d290bb184cf18ee21cdd
[S390] dasd: tolerate devices that have no feature codes

The DASD device driver reads the feature codes of a device during
device initialization. These codes are later used to determine the
availability of advanced features like PAV or High Performance FICON.
Some very old devices do not support the command to read feature
codes and the initialization routine fails.
As the feature codes are not necessary for basic DASD operations, we
can support such devices by just ignoring missing feature codes.

Signed-off-by: Stefan Weinhuber <wein@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/block/dasd_eckd.c