From 7a44e2e83b6ca915aee7b0e512bca5028c335e04 Mon Sep 17 00:00:00 2001 From: Bartlomiej Zolnierkiewicz Date: Thu, 10 Mar 2005 20:06:22 +0100 Subject: [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 --- include/linux/ide.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/linux') 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 *); -- cgit v1.2.3