Skip to content

Commit

Permalink
[PATCH] ide-floppy: fix IDEFLOPPY_TICKS_DELAY
Browse files Browse the repository at this point in the history
* IDEFLOPPY_TICKS_DELAY assumed HZ == 100, fix it
* increase the delay to 50ms (to match comment in the code)

Thanks to Manfred Scherer <manfred.scherer.mhm@t-online.de>
for reporting the problem and testing the patch.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Aug 18, 2005
1 parent 30d5b64 commit c40d3d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ide/ide-floppy.c
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ typedef struct ide_floppy_obj {
unsigned long flags;
} idefloppy_floppy_t;

#define IDEFLOPPY_TICKS_DELAY 3 /* default delay for ZIP 100 */
#define IDEFLOPPY_TICKS_DELAY HZ/20 /* default delay for ZIP 100 (50ms) */

/*
* Floppy flag bits values.
Expand Down

0 comments on commit c40d3d3

Please sign in to comment.