diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2007-05-04 12:47:51 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2007-05-04 12:48:26 -0400 |
commit | 17283b56eceb6b7d9cc48dc74759a2450699c22a (patch) | |
tree | ded19dee693d1b712c0f5117610b21eb4761d017 /drivers/s390/block/dasd_int.h | |
parent | 52706ec903dcc7679acf5b93400d68fbc5384553 (diff) |
[S390] dasd: New read device characteristics and read configuration data.
Instead of the deprecated read_dev_chars() and read_conf_data_lpm(),
implement dasd_generic_read_dev_chars() and dasd_eckd_read_conf_lpm().
These should even recover better from error than the original cio
functions.
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/block/dasd_int.h')
-rw-r--r-- | drivers/s390/block/dasd_int.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/s390/block/dasd_int.h b/drivers/s390/block/dasd_int.h index a2cc69e11410..241294cba415 100644 --- a/drivers/s390/block/dasd_int.h +++ b/drivers/s390/block/dasd_int.h | |||
@@ -509,6 +509,8 @@ int dasd_generic_set_online(struct ccw_device *, struct dasd_discipline *); | |||
509 | int dasd_generic_set_offline (struct ccw_device *cdev); | 509 | int dasd_generic_set_offline (struct ccw_device *cdev); |
510 | int dasd_generic_notify(struct ccw_device *, int); | 510 | int dasd_generic_notify(struct ccw_device *, int); |
511 | 511 | ||
512 | int dasd_generic_read_dev_chars(struct dasd_device *, char *, void **, int); | ||
513 | |||
512 | /* externals in dasd_devmap.c */ | 514 | /* externals in dasd_devmap.c */ |
513 | extern int dasd_max_devindex; | 515 | extern int dasd_max_devindex; |
514 | extern int dasd_probeonly; | 516 | extern int dasd_probeonly; |