aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/block/dasd_int.h
diff options
context:
space:
mode:
authorStefan Weinhuber <wein@de.ibm.com>2009-03-26 10:23:48 -0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2009-03-26 10:24:05 -0400
commitf3eb5384cf0325c02e306b1d81e70f81a03d7432 (patch)
tree4d75517ad2c61ac2f8b6431eafd62b5d32c188ed /drivers/s390/block/dasd_int.h
parentb44b0ab3bac16356f03e94b1b49ba9305710c445 (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.h5
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);
573void dasd_generic_handle_state_change(struct dasd_device *); 574void dasd_generic_handle_state_change(struct dasd_device *);
574 575
575int dasd_generic_read_dev_chars(struct dasd_device *, char *, void **, int); 576int dasd_generic_read_dev_chars(struct dasd_device *, char *, void **, int);
577char *dasd_get_sense(struct irb *);
576 578
577/* externals in dasd_devmap.c */ 579/* externals in dasd_devmap.c */
578extern int dasd_max_devindex; 580extern int dasd_max_devindex;
579extern int dasd_probeonly; 581extern int dasd_probeonly;
580extern int dasd_autodetect; 582extern int dasd_autodetect;
581extern int dasd_nopav; 583extern int dasd_nopav;
584extern int dasd_nofcx;
582 585
583int dasd_devmap_init(void); 586int dasd_devmap_init(void);
584void dasd_devmap_exit(void); 587void dasd_devmap_exit(void);