Thread (19 messages) 19 messages, 6 authors, 2011-04-11

RE: Problem with mini-PCI-E slot on P2020RDB

From: Mahajan Vivek-B08308 <hidden>
Date: 2009-12-16 12:27:12

From: Felix Radensky [mailto:felix@embedded-sol.com]=20
Sent: Wednesday, December 16, 2009 5:30 PM
quoted
As per the p2020rm, PCIe legacy INTA is shared with IRQ0 for this=20
ctlr, which is the exactly the case with other SoC's p2020ds,=20
mpc8536ds, mpc8572ds. To me it seems like a board issue and=20
it needs=20
quoted
to be followed up.

I plugged in ralink rt2860 pcie wirless card in the=20
mini-pcie slot of=20
quoted
p2020rdb, which ran fine becaused it used MSI by default.
How hard is it to enable MSI in the atheros wireless driver.

 =20
=20
I've enabled MSI in ath9k driver, by simply adding=20
pci_enable_msi() and
pci_disable_msi() at relevant places. The MSI interrupt is allocated.
=20
irq: irq 0 on host /soc@ffe00000/msi@41600 mapped to virtual irq 18
phy0: Atheros AR9280 MAC/BB Rev:2 AR5133 RF Rev:d0:=20
mem=3D0xf2160000, irq=3D18
=20
cat /proc/interrupts
           CPU0
 18:          0   FSL-MSI   Edge      ath9k
=20
lspci -v shows that MSI was enabled on device
=20
But I don't get any interrupts. I've posted a question to=20
ath9k list, maybe folks there will have some ideas.
I just noticed a MSI enable bit in drivers/net/wireless/ath/ath9k/reg.h=20
as under, may be we need to trun this on:-

reg.h:1013:#define AR_PCIE_MSI                              0x4094
reg.h:1014:#define AR_PCIE_MSI_ENABLE                       0x00000001
=20
Thanks.
=20
Felix.
=20
Thanks,
Vivek
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help