Re: Bad udelay usage in drivers/net/aironet4500_card.c

H . J . Lu (hjl@lucon.org)
Wed, 16 May 2001 08:52:49 -0700


On Wed, May 16, 2001 at 05:33:12AM -0700, Jalaja Devi wrote:
> Hi!
> Could you please tell me how you fixed the udelay
> problem. cuz, I am encountering the same problem in my
> driver.
>

I am not a kernel expert. You should ask it on the kernel mailing
list.

> Thanks for your time,
> Jalaja
>
>
> In 2.4.4, drivers/net/aironet4500_card.c has
>
>
> # grep udelay linux/drivers/net/aironet4500_card.c
> udelay(1000);
> udelay(100);
> udelay(10);
> udelay(100000);
> udelay(200000);
> udelay(250000);
> udelay(10000);
> udelay(10000);
> udelay(1000);
> udelay(1000);
> udelay(10000);
>
>
> But on ia32, you cannot use more than 20000 for udelay
> (). You will get
> undefined symbol, __bad_udelay.
>
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/
-
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/