Search Linux Wireless

Re: [PATCH v3 1/8] ath9k_hw: only use the PCIe disable register write sequence for AR5416

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 13.12.2010, at 12:12, Rajkumar Manoharan <rmanoharan@xxxxxxxxxxx> wrote:

> On Sun, Dec 12, 2010 at 05:21:07AM +0530, Felix Fietkau wrote:
>> Newer chips do not need this, and maybe these register writes could have
>> negative side effects on newer hardware.
>> 
>> Signed-off-by: Felix Fietkau <nbd@xxxxxxxxxxx>
>> ---
>> drivers/net/wireless/ath/ath9k/hw.c |    6 +-----
>> 1 files changed, 1 insertions(+), 5 deletions(-)
>> 
>> diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c
>> index 516227f..7bc6d22 100644
>> --- a/drivers/net/wireless/ath/ath9k/hw.c
>> +++ b/drivers/net/wireless/ath/ath9k/hw.c
>> @@ -284,11 +284,9 @@ static void ath9k_hw_read_revisions(struct ath_hw *ah)
>> 
>> static void ath9k_hw_disablepcie(struct ath_hw *ah)
>> {
>> -    if (AR_SREV_9100(ah))
>> +    if (!AR_SREV_5416(ah))
>>        return;
>> 
>> -    ENABLE_REGWRITE_BUFFER(ah);
> 
> Why to disable multiple register write?
Because it is only relevant for USB based devices.

- Felix--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux