Skip to contentSkip to conversation

Bad udelay usage in drivers/net/aironet4500_card.c

DISCUSSION H . J . Lu 1 participant 1 message May 16, 2001 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

H . J . Lu

author
#1 lore raw
Quoted 5 lines · Jalaja Devi

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.

Quoted 32 lines

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/