From b7838ca668c86dccca64f41efca88e5aaf0a3375 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Wed, 15 Oct 2003 17:51:41 -0700 Subject: [PATCH] [PATCH] ide-floppy IOMEGA ZIP fix From ramon_garcia_f@yahoo.com: "I am experiencing lost interrupts when writting (but not when reading) to an IOMEGA Zip drive with the ATAPI floppy driver. The driver seems to be aware of the problem and has a workaround for it. Unfortunately my drive is not detected as an IOMEGA drive. The reason is that the model of my drive is "IOMEGA ZIP 100 ATAPI Floppy" instead of "IOMEGA ZIP 100 ATAPI", that is what the driver expects. " --- drivers/ide/ide-floppy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ide/ide-floppy.c b/drivers/ide/ide-floppy.c index b664be3904b6d..55cef4b31d1c4 100644 --- a/drivers/ide/ide-floppy.c +++ b/drivers/ide/ide-floppy.c @@ -1796,7 +1796,7 @@ static void idefloppy_setup (ide_drive_t *drive, idefloppy_floppy_t *floppy) * we'll leave the limitation below for the 2.2.x tree. */ - if (strcmp(drive->id->model, "IOMEGA ZIP 100 ATAPI") == 0) { + if (strstr(drive->id->model, "IOMEGA ZIP") != NULL) { set_bit(IDEFLOPPY_ZIP_DRIVE, &floppy->flags); /* This value will be visible in the /proc/ide/hdx/settings */ floppy->ticks = IDEFLOPPY_TICKS_DELAY; -- 2.53.0