summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@trik.(none)>2005-03-10 20:06:22 +0100
committerBartlomiej Zolnierkiewicz <bzolnier@trik.(none)>2005-03-10 20:06:22 +0100
commit7a44e2e83b6ca915aee7b0e512bca5028c335e04 (patch)
tree490e5401515c19ae196e73b15fcdc8eafc5b4987 /include/linux
parenta32ec5211491b6afba45a8bbd29441bc286b99de (diff)
[ide] kill ide_driver_t->pre_reset
Add ide_drive_t->post_reset flag and use it to signal post reset condition to the ide-tape driver (the only user of ->pre_reset). Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/ide.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index 810647a617c9..7bb3a87e39ba 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -718,6 +718,7 @@ typedef struct ide_drive_s {
*/
unsigned scsi : 1; /* 0=default, 1=ide-scsi emulation */
unsigned sleeping : 1; /* 1=sleeping & sleep field valid */
+ unsigned post_reset : 1;
u8 quirk_list; /* considered quirky, set for a specific host */
u8 init_speed; /* transfer rate set at boot */
@@ -1097,7 +1098,6 @@ typedef struct ide_driver_s {
ide_startstop_t (*error)(ide_drive_t *, struct request *rq, u8, u8);
ide_startstop_t (*abort)(ide_drive_t *, struct request *rq);
int (*ioctl)(ide_drive_t *, struct inode *, struct file *, unsigned int, unsigned long);
- void (*pre_reset)(ide_drive_t *);
sector_t (*capacity)(ide_drive_t *);
ide_proc_entry_t *proc;
int (*attach)(ide_drive_t *);