diff options
author | Stefan Weinhuber <wein@de.ibm.com> | 2009-03-26 10:23:48 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2009-03-26 10:24:05 -0400 |
commit | f3eb5384cf0325c02e306b1d81e70f81a03d7432 (patch) | |
tree | 4d75517ad2c61ac2f8b6431eafd62b5d32c188ed /drivers/s390/block/dasd_int.h | |
parent | b44b0ab3bac16356f03e94b1b49ba9305710c445 (diff) |
[S390] dasd: add High Performance FICON support
To support High Performance FICON, the DASD device driver has to
translate I/O requests into the new transport mode control words (TCW)
instead of the traditional (command mode) CCW requests.
Signed-off-by: Stefan Weinhuber <wein@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 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/s390/block/dasd_int.h b/drivers/s390/block/dasd_int.h index 29991a9fa07a..7b314c1d471e 100644 --- a/drivers/s390/block/dasd_int.h +++ b/drivers/s390/block/dasd_int.h | |||
@@ -157,7 +157,8 @@ struct dasd_ccw_req { | |||
157 | struct dasd_block *block; /* the originating block device */ | 157 | struct dasd_block *block; /* the originating block device */ |
158 | struct dasd_device *memdev; /* the device used to allocate this */ | 158 | struct dasd_device *memdev; /* the device used to allocate this */ |
159 | struct dasd_device *startdev; /* device the request is started on */ | 159 | struct dasd_device *startdev; /* device the request is started on */ |
160 | struct ccw1 *cpaddr; /* address of channel program */ | 160 | void *cpaddr; /* address of ccw or tcw */ |
161 | unsigned char cpmode; /* 0 = cmd mode, 1 = itcw */ | ||
161 | char status; /* status of this request */ | 162 | char status; /* status of this request */ |
162 | short retries; /* A retry counter */ | 163 | short retries; /* A retry counter */ |
163 | unsigned long flags; /* flags of this request */ | 164 | unsigned long flags; /* flags of this request */ |
@@ -573,12 +574,14 @@ int dasd_generic_notify(struct ccw_device *, int); | |||
573 | void dasd_generic_handle_state_change(struct dasd_device *); | 574 | void dasd_generic_handle_state_change(struct dasd_device *); |
574 | 575 | ||
575 | int dasd_generic_read_dev_chars(struct dasd_device *, char *, void **, int); | 576 | int dasd_generic_read_dev_chars(struct dasd_device *, char *, void **, int); |
577 | char *dasd_get_sense(struct irb *); | ||
576 | 578 | ||
577 | /* externals in dasd_devmap.c */ | 579 | /* externals in dasd_devmap.c */ |
578 | extern int dasd_max_devindex; | 580 | extern int dasd_max_devindex; |
579 | extern int dasd_probeonly; | 581 | extern int dasd_probeonly; |
580 | extern int dasd_autodetect; | 582 | extern int dasd_autodetect; |
581 | extern int dasd_nopav; | 583 | extern int dasd_nopav; |
584 | extern int dasd_nofcx; | ||
582 | 585 | ||
583 | int dasd_devmap_init(void); | 586 | int dasd_devmap_init(void); |
584 | void dasd_devmap_exit(void); | 587 | void dasd_devmap_exit(void); |