2.2.18: e100.c (SuSE 7.1): udelay() used in a wrong way?

From: Ulrich Windl (Ulrich.Windl@rz.uni-regensburg.de)
Date: Thu Mar 22 2001 - 07:59:35 EST


>From the source code of drivers/net/e100.c:

/****************************************************************************
 * Name: Phy82562EHDelayMilliseconds
 *
 * Description: Stalls execution for a specified number of milliseconds.
 *
 * Arguments: Time - milliseconds to delay
 *
 * Returns: Nothing
 *
 
************************************************************************
***/
void
Phy82562EHDelayMilliseconds(int Time)
{
    udelay(Time);
}

AFAIK, udelay() delays microseconds, not milliseconds.

Ulrich

-
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 : Fri Mar 23 2001 - 21:00:17 EST