Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@suse.de>2003-10-15 17:51:41 -0700
committerLinus Torvalds <torvalds@home.osdl.org>2003-10-15 17:51:41 -0700
commitb7838ca668c86dccca64f41efca88e5aaf0a3375 (patch)
tree49c30c6660e1cc99d876fc7d55bb4db08ae9ec76
parentbbe02ca4f84967852e9728841d4542643070eb9e (diff)
[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. "
-rw-r--r--drivers/ide/ide-floppy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-floppy.c b/drivers/ide/ide-floppy.c
index b664be3904b6..55cef4b31d1c 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;