Re: [PATCH] 2.5.13 IDE 50

From: Martin Dalecki (dalecki@evision-ventures.com)
Date: Sat May 04 2002 - 18:53:49 EST


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/



This archive was generated by hypermail 2b29 : Tue May 07 2002 - 22:00:23 EST