* [RFC, PATCH] ath5k: compilation fix for ARM
@ 2008-09-29 14:07 Marc Pignat
2008-09-29 14:17 ` Jiri Slaby
0 siblings, 1 reply; 3+ messages in thread
From: Marc Pignat @ 2008-09-29 14:07 UTC (permalink / raw)
To: jirislaby; +Cc: mickflemm, mcgrof, linux-wireless, ath5k-devel
ARM linux port does not handle udleay > 2000.
Signed-off-by: Marc Pignat <marc.pignat@hevs.ch>
---
Best regards
Marc
patch against 2.6.27-rc7
diff --git a/drivers/net/wireless/ath5k/hw.c b/drivers/net/wireless/ath5k/hw.c
index ad1a5b4..f450ef9 100644
--- a/drivers/net/wireless/ath5k/hw.c
+++ b/drivers/net/wireless/ath5k/hw.c
@@ -493,7 +493,7 @@ static int ath5k_hw_nic_wakeup(struct ath5k_hw *ah, int flags, bool initial)
}
if (ah->ah_version == AR5K_AR5210)
- udelay(2300);
+ mdelay(3);
/* ...wakeup again!*/
ret = ath5k_hw_set_power(ah, AR5K_PM_AWAKE, true, 0);
diff --git a/drivers/net/wireless/ath5k/phy.c b/drivers/net/wireless/ath5k/phy.c
index fa0d47f..41f95e7 100644
--- a/drivers/net/wireless/ath5k/phy.c
+++ b/drivers/net/wireless/ath5k/phy.c
@@ -2122,7 +2122,7 @@ static int ath5k_hw_rf5110_calibrate(struct ath5k_hw *ah,
beacon = ath5k_hw_reg_read(ah, AR5K_BEACON_5210);
ath5k_hw_reg_write(ah, beacon & ~AR5K_BEACON_ENABLE, AR5K_BEACON_5210);
- udelay(2300);
+ mdelay(3);
/*
* Set the channel (with AGC turned off)
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [RFC, PATCH] ath5k: compilation fix for ARM
2008-09-29 14:07 [RFC, PATCH] ath5k: compilation fix for ARM Marc Pignat
@ 2008-09-29 14:17 ` Jiri Slaby
2008-09-29 14:19 ` Marc Pignat
0 siblings, 1 reply; 3+ messages in thread
From: Jiri Slaby @ 2008-09-29 14:17 UTC (permalink / raw)
To: Marc Pignat; +Cc: mickflemm, mcgrof, linux-wireless, ath5k-devel
On 09/29/2008 04:07 PM, Marc Pignat wrote:
> ARM linux port does not handle udleay > 2000.
>
> Signed-off-by: Marc Pignat <marc.pignat@hevs.ch>
> ---
>
> Best regards
>
> Marc
>
> patch against 2.6.27-rc7
Thanks, but Nick already fixed that:
http://kerneltrap.org/mailarchive/linux-ath5k-devel/2008/9/17/3317654
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [RFC, PATCH] ath5k: compilation fix for ARM
2008-09-29 14:17 ` Jiri Slaby
@ 2008-09-29 14:19 ` Marc Pignat
0 siblings, 0 replies; 3+ messages in thread
From: Marc Pignat @ 2008-09-29 14:19 UTC (permalink / raw)
To: Jiri Slaby; +Cc: mickflemm, mcgrof, linux-wireless, ath5k-devel
On Monday 29 September 2008, Jiri Slaby wrote:
> On 09/29/2008 04:07 PM, Marc Pignat wrote:
> Thanks, but Nick already fixed that:
> http://kerneltrap.org/mailarchive/linux-ath5k-devel/2008/9/17/3317654
>
fine ;)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-09-29 14:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-29 14:07 [RFC, PATCH] ath5k: compilation fix for ARM Marc Pignat
2008-09-29 14:17 ` Jiri Slaby
2008-09-29 14:19 ` Marc Pignat
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.