Messages in this thread | | | Subject | Re: 2.2.15 driver OK on UP - no ints on SMP (SOLVED) | Date | Thu, 6 Jul 2000 18:54:59 +0100 (BST) | From | Alan Cox <> |
| |
> So how can my driver my driver work fine in UP and not in SMP when > using the pci_read_config* calls? > > My workaround is to use > struct pci_dev *dev; > and when pci_find_device() inits dev, I use dev->irq instead of > pci_read_config_byte(dev, PCI_INTERRUPT_LINE, &irq); > > Can anyone explain this?
On an SMP machine PCI interrupts are APIC routed and tend to appear higher than 16. The value in the PCI_INTERRUPT_LINE isnt what you need to know as it is before the apic directs it. dev->irq is adjusted automatically for you by the OS
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |