> How do I code a driver for a PCI device (VMIC reflective memory) to correctly
> determine the IRQ so that it works for both UP and SMP? Running RedHat 6.0
> (2.2.5-15) the IRQ reported in /proc/pci is 9 for UP and 16 or 17 for SMP but
> pci_read_config_byte always returns 9 as the interrupt.

Use the irq reported by the kernel. It knows about PCI irq routing and the
APIC but your card doesn't. The irq is in the struct pci_dev that is returned
from pci_find_device and friends.


-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/dmentre/smp-howto/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]

Reply via email to