patch-2.0.25 linux/drivers/block/ide.c
Next file: linux/drivers/char/console.c
Previous file: linux/drivers/block/ide-tape.h
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Wed Nov 6 14:48:33 1996
- Orig file:
v2.0.24/linux/drivers/block/ide.c
- Orig date:
Thu Oct 31 12:08:50 1996
diff -u --recursive --new-file v2.0.24/linux/drivers/block/ide.c linux/drivers/block/ide.c
@@ -811,6 +811,10 @@
*/
for (unit = 0; unit < MAX_DRIVES; ++unit) {
ide_drive_t *rdrive = &hwif->drives[unit];
+#ifdef CONFIG_BLK_DEV_IDETAPE
+ if (rdrive->media == ide_tape)
+ rdrive->tape.reset_issued = 1;
+#endif /* CONFIG_BLK_DEV_IDETAPE */
rdrive->special.all = 0;
rdrive->special.b.set_geometry = 1;
rdrive->special.b.recalibrate = 1;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov