From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from charlotte.tuxdriver.com ([70.61.120.58]:60224 "EHLO smtp.tuxdriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753948Ab0DMXkW (ORCPT ); Tue, 13 Apr 2010 19:40:22 -0400 Date: Tue, 13 Apr 2010 19:38:01 -0400 From: "John W. Linville" To: "Luis R. Rodriguez" Cc: Felix Fietkau , linux-wireless@vger.kernel.org Subject: Re: [PATCH 012/102] ath9k_hw: add a private callback for PLL control computation Message-ID: <20100413233800.GB2092@tuxdriver.com> References: <1270754858-26266-1-git-send-email-lrodriguez@atheros.com> <1270754858-26266-13-git-send-email-lrodriguez@atheros.com> <20100413195408.GC6722@tuxdriver.com> <4BC4D0DA.2070109@openwrt.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 In-Reply-To: Sender: linux-wireless-owner@vger.kernel.org List-ID: On Tue, Apr 13, 2010 at 02:42:13PM -0700, Luis R. Rodriguez wrote: > On Tue, Apr 13, 2010 at 1:15 PM, Felix Fietkau wrote: > > On 2010-04-13 9:54 PM, John W. Linville wrote: > >> On Thu, Apr 08, 2010 at 03:26:08PM -0400, Luis R. Rodriguez wrote: > >>> The PLL control computation used to program the AR_RTC_PLL_CONTROL > >>> register varies between our harware so just add a private callback for it. > >>> AR9003 will use its own callback. > >>> > >>> Signed-off-by: Luis R. Rodriguez > >>> --- > >>>  drivers/net/wireless/ath/ath9k/ar5008_phy.c |   55 +++++++++++++++++++++++ > >>>  drivers/net/wireless/ath/ath9k/ar9002_phy.c |   31 +++++++++++++ > >>>  drivers/net/wireless/ath/ath9k/hw.c         |   64 +++------------------------ > >>>  drivers/net/wireless/ath/ath9k/hw.h         |    4 ++ > >>>  4 files changed, 97 insertions(+), 57 deletions(-) > >>> > >>> diff --git a/drivers/net/wireless/ath/ath9k/ar5008_phy.c b/drivers/net/wireless/ath/ath9k/ar5008_phy.c > >>> index 4459d63..31ecea8 100644 > >>> --- a/drivers/net/wireless/ath/ath9k/ar5008_phy.c > >>> +++ b/drivers/net/wireless/ath/ath9k/ar5008_phy.c > >>> @@ -961,6 +961,54 @@ static void ar5008_set_diversity(struct ath_hw *ah, bool value) > >> > >> > >> > >> drivers/net/wireless/ath/ath9k/ar5008_phy.c doesn't seem to exist...? > > Luis' git version creates patches that mark renames in metadata, so they > > probably won't apply when using 'patch', only with 'git apply'... > > Patch 009 renames phy.c to ar5008_phy.c > > Right, so this is part of the -M on git format-patch, we do this to > keep the patch diff stat to 0 so that its clear no changes were > actually made to the file. FWIW, I was using "git apply" with your all-.patch mbox file. Maybe you generated that differently. Anyway, I'm happy to wait for the repost to try again. :-) John -- John W. Linville                Someday the world will need a hero, and you linville@tuxdriver.com                  might be all we have.  Be ready.