diff options
Diffstat (limited to 'drivers/s390/block/dasd_int.h')
| -rw-r--r-- | drivers/s390/block/dasd_int.h | 40 |
1 files changed, 10 insertions, 30 deletions
diff --git a/drivers/s390/block/dasd_int.h b/drivers/s390/block/dasd_int.h index d4b13e300a76..3ccf06d28ba1 100644 --- a/drivers/s390/block/dasd_int.h +++ b/drivers/s390/block/dasd_int.h | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File...........: linux/drivers/s390/block/dasd_int.h | 2 | * File...........: linux/drivers/s390/block/dasd_int.h |
| 3 | * Author(s)......: Holger Smolinski <Holger.Smolinski@de.ibm.com> | 3 | * Author(s)......: Holger Smolinski <Holger.Smolinski@de.ibm.com> |
| 4 | * Horst Hummel <Horst.Hummel@de.ibm.com> | 4 | * Horst Hummel <Horst.Hummel@de.ibm.com> |
| 5 | * Martin Schwidefsky <schwidefsky@de.ibm.com> | 5 | * Martin Schwidefsky <schwidefsky@de.ibm.com> |
| 6 | * Bugreports.to..: <Linux390@de.ibm.com> | 6 | * Bugreports.to..: <Linux390@de.ibm.com> |
| 7 | * (C) IBM Corporation, IBM Deutschland Entwicklung GmbH, 1999,2000 | 7 | * (C) IBM Corporation, IBM Deutschland Entwicklung GmbH, 1999,2000 |
| @@ -54,7 +54,6 @@ | |||
| 54 | #include <linux/module.h> | 54 | #include <linux/module.h> |
| 55 | #include <linux/wait.h> | 55 | #include <linux/wait.h> |
| 56 | #include <linux/blkdev.h> | 56 | #include <linux/blkdev.h> |
| 57 | #include <linux/devfs_fs_kernel.h> | ||
| 58 | #include <linux/genhd.h> | 57 | #include <linux/genhd.h> |
| 59 | #include <linux/hdreg.h> | 58 | #include <linux/hdreg.h> |
| 60 | #include <linux/interrupt.h> | 59 | #include <linux/interrupt.h> |
| @@ -186,7 +185,7 @@ struct dasd_ccw_req { | |||
| 186 | void *callback_data; | 185 | void *callback_data; |
| 187 | }; | 186 | }; |
| 188 | 187 | ||
| 189 | /* | 188 | /* |
| 190 | * dasd_ccw_req -> status can be: | 189 | * dasd_ccw_req -> status can be: |
| 191 | */ | 190 | */ |
| 192 | #define DASD_CQR_FILLED 0x00 /* request is ready to be processed */ | 191 | #define DASD_CQR_FILLED 0x00 /* request is ready to be processed */ |
| @@ -248,7 +247,7 @@ struct dasd_discipline { | |||
| 248 | /* | 247 | /* |
| 249 | * Error recovery functions. examine_error() returns a value that | 248 | * Error recovery functions. examine_error() returns a value that |
| 250 | * indicates what to do for an error condition. If examine_error() | 249 | * indicates what to do for an error condition. If examine_error() |
| 251 | * returns 'dasd_era_recover' erp_action() is called to create a | 250 | * returns 'dasd_era_recover' erp_action() is called to create a |
| 252 | * special error recovery ccw. erp_postaction() is called after | 251 | * special error recovery ccw. erp_postaction() is called after |
| 253 | * an error recovery ccw has finished its execution. dump_sense | 252 | * an error recovery ccw has finished its execution. dump_sense |
| 254 | * is called for every error condition to print the sense data | 253 | * is called for every error condition to print the sense data |
| @@ -302,11 +301,11 @@ struct dasd_device { | |||
| 302 | spinlock_t request_queue_lock; | 301 | spinlock_t request_queue_lock; |
| 303 | struct block_device *bdev; | 302 | struct block_device *bdev; |
| 304 | unsigned int devindex; | 303 | unsigned int devindex; |
| 305 | unsigned long blocks; /* size of volume in blocks */ | 304 | unsigned long blocks; /* size of volume in blocks */ |
| 306 | unsigned int bp_block; /* bytes per block */ | 305 | unsigned int bp_block; /* bytes per block */ |
| 307 | unsigned int s2b_shift; /* log2 (bp_block/512) */ | 306 | unsigned int s2b_shift; /* log2 (bp_block/512) */ |
| 308 | unsigned long flags; /* per device flags */ | 307 | unsigned long flags; /* per device flags */ |
| 309 | unsigned short features; /* copy of devmap-features (read-only!) */ | 308 | unsigned short features; /* copy of devmap-features (read-only!) */ |
| 310 | 309 | ||
| 311 | /* extended error reporting stuff (eer) */ | 310 | /* extended error reporting stuff (eer) */ |
| 312 | struct dasd_ccw_req *eer_cqr; | 311 | struct dasd_ccw_req *eer_cqr; |
| @@ -513,12 +512,12 @@ void dasd_generic_remove (struct ccw_device *cdev); | |||
| 513 | int dasd_generic_set_online(struct ccw_device *, struct dasd_discipline *); | 512 | int dasd_generic_set_online(struct ccw_device *, struct dasd_discipline *); |
| 514 | int dasd_generic_set_offline (struct ccw_device *cdev); | 513 | int dasd_generic_set_offline (struct ccw_device *cdev); |
| 515 | int dasd_generic_notify(struct ccw_device *, int); | 514 | int dasd_generic_notify(struct ccw_device *, int); |
| 516 | void dasd_generic_auto_online (struct ccw_driver *); | ||
| 517 | 515 | ||
| 518 | /* externals in dasd_devmap.c */ | 516 | /* externals in dasd_devmap.c */ |
| 519 | extern int dasd_max_devindex; | 517 | extern int dasd_max_devindex; |
| 520 | extern int dasd_probeonly; | 518 | extern int dasd_probeonly; |
| 521 | extern int dasd_autodetect; | 519 | extern int dasd_autodetect; |
| 520 | extern int dasd_nopav; | ||
| 522 | 521 | ||
| 523 | int dasd_devmap_init(void); | 522 | int dasd_devmap_init(void); |
| 524 | void dasd_devmap_exit(void); | 523 | void dasd_devmap_exit(void); |
| @@ -606,22 +605,3 @@ static inline int dasd_eer_enabled(struct dasd_device *device) | |||
| 606 | #endif /* __KERNEL__ */ | 605 | #endif /* __KERNEL__ */ |
| 607 | 606 | ||
| 608 | #endif /* DASD_H */ | 607 | #endif /* DASD_H */ |
| 609 | |||
| 610 | /* | ||
| 611 | * Overrides for Emacs so that we follow Linus's tabbing style. | ||
| 612 | * Emacs will notice this stuff at the end of the file and automatically | ||
| 613 | * adjust the settings for this buffer only. This must remain at the end | ||
| 614 | * of the file. | ||
| 615 | * --------------------------------------------------------------------------- | ||
| 616 | * Local variables: | ||
| 617 | * c-indent-level: 4 | ||
| 618 | * c-brace-imaginary-offset: 0 | ||
| 619 | * c-brace-offset: -4 | ||
| 620 | * c-argdecl-indent: 4 | ||
| 621 | * c-label-offset: -4 | ||
| 622 | * c-continued-statement-offset: 4 | ||
| 623 | * c-continued-brace-offset: 0 | ||
| 624 | * indent-tabs-mode: 1 | ||
| 625 | * tab-width: 8 | ||
| 626 | * End: | ||
| 627 | */ | ||
