X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fblock%2Ffloppy.c;h=bce3fc0e6e4f32b252c1b24319406619a19bf8aa;hb=af20d436230b2df6d73a406b6f1b31ae000775cb;hp=0beaf4220d10782b2e3207b94f07d5165a4ac538;hpb=6a77f38946aaee1cd85eeec6cf4229b204c15071;p=linux-2.6.git diff --git a/drivers/block/floppy.c b/drivers/block/floppy.c index 0beaf4220..bce3fc0e6 100644 --- a/drivers/block/floppy.c +++ b/drivers/block/floppy.c @@ -358,11 +358,7 @@ static int inr; /* size of reply buffer, when called from interrupt */ #define R_SECTOR (reply_buffer[5]) #define R_SIZECODE (reply_buffer[6]) -#if HZ < 12800 #define SEL_DLY (2*HZ/100) -#else -#define SEL_DLY (255) -#endif /* * this struct defines the different floppy drive types. @@ -4088,7 +4084,7 @@ static void __init daring(int *ints, int param, int param2) FD_SILENT_DCL_CLEAR; } else { default_drive_params[i].params.select_delay = - SEL_DLY; + 2 * HZ / 100; default_drive_params[i].params.flags &= ~FD_SILENT_DCL_CLEAR; }