All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Roskin <proski@gnu.org>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] AR9220: how do I wake it up? :)
Date: Sat, 22 Jan 2011 20:05:03 -0500	[thread overview]
Message-ID: <4D3B7EBF.1070904@gnu.org> (raw)
In-Reply-To: <AANLkTinOZgSEa8Rt91M7H0OFUZyLuTF1VkpN3M1rRvHK@mail.gmail.com>

On 01/22/2011 07:28 AM, Adrian Chadd wrote:
> On 22 January 2011 01:53, Pavel Roskin<proski@gnu.org>  wrote:
>
>>> Would someone mind letting me know what this particular fix does and
>>> why it's needed?
>
>> I don't know much about the meaning of that bit.  My patch only changes the
>> way the fixup is applied.  Instead of modifying the common table that is
>> shares between all devices, the bit is changed when the data is written to
>> the register.  This allows peaceful coexistence of the devices with
>> different EEPROM in the same system.
>
> Yup. I saw that's why you did it. I was just wondering what the
> particular value in the EEPROM means.

It has something to do with the bus clock.

>> My patch also was a step towards declaring the init tables constant, but
>> there is another fixup for AR9160 that is harder to fix.  I never had time
>> to do the later.
>
> I'm thinking of doing the same to the FreeBSD HAL. I may take a copy
> of the init tables rather than a reference to them. Then they can be
> fiddled as needed.
>
> There's another eeprom value base fix to the AR9160 code which I
> haven't yet put into the freebsd HAL (some baseband bias level) which
> also fiddles with an ini array (a radio init one.) That also needs to
> be fixed for similar reasons. I wonder if ath9k does the same.

Perhaps you misread my words.  I believe ath9k still needs to be fixed 
with regard to AR9160 fixups.

As for the copying, it's probably a very high cost if only a few values 
need to be adjusted.  I'd rather go with a list of values to adjust. 
Initialization is not performance critical (as long as we are not 
talking about tenths of a second or more), but embedded systems may be 
short on memory.

-- 
Regards,
Pavel Roskin

      reply	other threads:[~2011-01-23  1:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-21 16:53 [ath9k-devel] AR9220: how do I wake it up? :) Adrian Chadd
2011-01-21 17:09 ` Adrian Chadd
2011-01-21 17:14   ` Adrian Chadd
2011-01-21 17:53   ` Pavel Roskin
2011-01-22 12:28     ` Adrian Chadd
2011-01-23  1:05       ` Pavel Roskin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D3B7EBF.1070904@gnu.org \
    --to=proski@gnu.org \
    --cc=ath9k-devel@lists.ath9k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.