Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@suse.de>2003-10-16 17:37:22 -0700
committerLinus Torvalds <torvalds@home.osdl.org>2003-10-16 17:37:22 -0700
commit6d4289d1b43efc7c54289c142815008677377acb (patch)
tree56e57253dacb2b6f794aa392175db64731622694
parentcb6d16119a649503e74d6c2b0493ff70e3737ed1 (diff)
[PATCH] fix ide-floppy IOMEGA logic
The original change turned out to be too restrictive, it catches devices that don't need the work around. This fixes that, thanks to Bart for informing me of the screwup.
-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 55cef4b31d1c..a3356b4db9cb 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 (strstr(drive->id->model, "IOMEGA ZIP") != NULL) {
+ if (!strncmp(drive->id->model, "IOMEGA ZIP 100 ATAPI", 20)) {
set_bit(IDEFLOPPY_ZIP_DRIVE, &floppy->flags);
/* This value will be visible in the /proc/ide/hdx/settings */
floppy->ticks = IDEFLOPPY_TICKS_DELAY;