2008-02-27 22:01:21

by Krzysztof Halasa

[permalink] [raw]
Subject: ath5k on ARM

Hi,

Another thing:
ath5k uses udelay(2300). ARM has (include/asm-arm/delay.h):
#define MAX_UDELAY_MS 2

It ends up in __bad_udelay.

Solution?
--
Krzysztof Halasa


2008-02-29 16:00:12

by Johannes Berg

[permalink] [raw]
Subject: Re: ath5k on ARM


On Fri, 2008-02-29 at 15:11 +0200, Nick Kossifidis wrote:
> 2008/2/28, Krzysztof Halasa <[email protected]>:
> > Hi,
> >
> > Another thing:
> > ath5k uses udelay(2300). ARM has (include/asm-arm/delay.h):
> > #define MAX_UDELAY_MS 2
> >
> > It ends up in __bad_udelay.
> >
> > Solution?

> Hmm, i'll see if it can work with smaller delay and let you know...

Maybe use mdelay instead of udelay?

johannes


Attachments:
signature.asc (828.00 B)
This is a digitally signed message part

2008-02-29 13:11:20

by Nick Kossifidis

[permalink] [raw]
Subject: Re: ath5k on ARM

2008/2/28, Krzysztof Halasa <[email protected]>:
> Hi,
>
> Another thing:
> ath5k uses udelay(2300). ARM has (include/asm-arm/delay.h):
> #define MAX_UDELAY_MS 2
>
> It ends up in __bad_udelay.
>
> Solution?
>

Hmm, i'll see if it can work with smaller delay and let you know...


--
GPG ID: 0xD21DB2DB
As you read this post global entropy rises. Have Fun ;-)
Nick