From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Roskin Date: Fri, 21 Jan 2011 12:53:36 -0500 Subject: [ath9k-devel] AR9220: how do I wake it up? :) In-Reply-To: References: Message-ID: <4D39C820.7020603@gnu.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org On 01/21/2011 12:09 PM, Adrian Chadd wrote: > For posterity, it turns out to be the AR_AN_TOP2 patch. > > Found here: > > https://patchwork.kernel.org/patch/90926/ > > Would someone mind letting me know what this particular fix does and > why it's needed? There is a lot of data written to the chip. Most of it is the same for the same chip revision, but some bits need to be different based on the EEPROM contents or on whether the device is connected to PCIe or PCI bus. 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. 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. -- Regards, Pavel Roskin