Hello everyone!
I used the PCIE interface connection of IMX6Q to drive a network card (RTL8168). When I used MSI interrupt, the network card could work normally. However, when I used ordinary INTX interrupt instead of MSI, I found that the interrupt could not be received.I feel like I didn't register the correct interrupt number.In the program I register for interrupts like this:
int probe(struct pci_dev *dev, const struct pci_device_id *id)
{
irq_line = dev->irq;
rc = request_irq(irq_line, dma_write_isr, IRQF_SHARED, "dma_write_isr", (void *)ape);
}
How do I register for the correct interrupt.Hope to get your help.
Hi lishun
one can try solution below
https://community.nxp.com/t5/i-MX-Processors/i-MX6-7-Pcie-legacy-interrupt/m-p/730464
Best regards
igor