public inbox for linux-pci@vger.kernel.org
 help / color / mirror / Atom feed
* aardvark pci controller ath9k request_irq fail
@ 2017-09-22 11:24 Marek Behún
  2017-09-22 13:35 ` Bjorn Helgaas
  0 siblings, 1 reply; 4+ messages in thread
From: Marek Behún @ 2017-09-22 11:24 UTC (permalink / raw)
  To: linux-pci

Hello,
we are developing a new board based on Marvell Armada 3720.
While testing the PCI-e slot, I have enountered this problem:

- lspci always correctly prints information about the PCIe card in the
  slot
- when a ath9k card is in the slot, ath9k fails to initialize with
     ath9k 0000:00:00.0: request_irq failed

  The irq number passed to the request_irq function is from the irq
  member of struct pci_dev:
     request_irq(pdev->irq, ath_isr, IRQF_SHARED, "ath9k", sc);

  this number (pdev->irq) is 255

  The request_irq function fails in request_threaded_irq on line:
     desc = irq_to_desc(irq);
  (desc is NULL and thus -EINVAL is returned.)

- what is strange is that another card, Intel Centrino Ultimate-N 6300
  with iwlwifi works.

- another card (ath10k driver) also does not work.

Is this a problem with the pci-aardvark driver for the Aardvark
controller?

Thank you.

Marek

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-09-25  8:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-22 11:24 aardvark pci controller ath9k request_irq fail Marek Behún
2017-09-22 13:35 ` Bjorn Helgaas
2017-09-22 13:44   ` Lorenzo Pieralisi
2017-09-25  8:47     ` Marek Behún

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox