From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sucheta ROY Date: Thu, 19 May 2011 16:41:23 +0800 Subject: [ath9k-devel] AR9285 MSI In-Reply-To: <20110519060138.GA6239@infinet.ru> References: <20110518010903.28970.qmail@stuge.se> <20110519003204.9375.qmail@stuge.se> <20110519060138.GA6239@infinet.ru> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Sorry did not receive the ack so sending it again! Hi, I believe you have AR9380 card installed in your PC? You have to build your kernel with CONFIG_PCI_MSI option enabled. "CONFIG_PCI_MSI" Depends on: PCI [=y] && ARCH_SUPPORTS_MSI [=y]. Also you have to include int pci_enable_msi(struct pci_dev *dev) function in pci.c file of ath9k. This function should be called before the driver calls request_irq().With a successful call the device will be switched from pin-based legacy interrupt mode to MSI mode. The dev->irq number will be changed to a new number which represents the message signaled interrupt. Also can you please let me know PCI Vendor Id/Device Id of this card ie AR9380? Thanks in advance for your support. Regards, Sucheta -----Original Message----- From: ath9k-devel-bounces@lists.ath9k.org [mailto:ath9k-devel-bounces at lists.ath9k.org] On Behalf Of Alex Hacker Sent: Thursday, May 19, 2011 11:32 AM To: ath9k-devel at venema.h4ckr.net Subject: Re: [ath9k-devel] AR9285 MSI I have one currently installed on my PC, but do not have much time to experimenting with MSI. If you tell me exactly what I should do to enable it I'll report the results. On Thu, May 19, 2011 at 12:33:29PM +0800, Sucheta ROY wrote: > Hi, > > I would like to know on what basis it is said AR9380 should work with MSI.I am aware that ath9K Linux driver does not support MSI by default. As you are suggesting that certain changes need to be incorporated in the driver. What all suggestion I received in previous mail I incorporated but could not make AR9285 work, although it exposes MSI capability structure and cat /proc/interrupts show pcie_msi interrupt in the table. So I am afraid whether the same would happen for AR9380! > > If anybody is having that card, and can make a quick check by enabling MSI,that will be of great help. I don't have the card at this moment. If it is ensured that the card works with MSI I will plan to buy one. > > Thanks and Regards, > Sucheta _______________________________________________ ath9k-devel mailing list ath9k-devel at lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel