Re: [PATCH] 2.5.13 IDE 50

Martin Dalecki (dalecki@evision-ventures.com)
Sun, 05 May 2002 01:53:49 +0200


Uz.ytkownik Tim Schmielau napisa?:
>>- Fix wrong usage of time_after in ide.c. This should cure the drive
>>seek
>> timeout problems some people where expierencing. This was clarified
>>to me by
>> Bartek, who apparently checked whatever the actual code is consistent
>>with the comments in front of it. Thank you Bartlomiej Zolnierkiewicz.
>>
>> I think now that we should have time_past(xxx) in <linux/timer.h>.
>
>
> What would you suppose time_past(xxx) to do?

Taking only a single parameter and telling whatever jiffies is bigger
then it. Just that. Becouse if you grep for time_after or time_before
you would realize immediately that nearly all of them take
the variable jiffies as parameter.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/