]> err.no Git - linux-2.6/commitdiff
[IA64-SGI] disable msi for all altix pci devices
authorMark Maule <maule@sgi.com>
Fri, 27 Jan 2006 19:59:07 +0000 (13:59 -0600)
committerTony Luck <tony.luck@intel.com>
Thu, 2 Feb 2006 21:23:02 +0000 (13:23 -0800)
Temporary patch to make pci_enable_msi() fail gracefully on altix.  Will be
removed after 2.6.16 releases and the msi abstraction patches start flowing.

Signed-off-by: Mark Maule <maule@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/sn/kernel/io_init.c

index a4c78152b3366568edf0949935765a11a63a355f..6dbb7fca1c57e477f9ed1ad93947717644b7792d 100644 (file)
@@ -467,6 +467,13 @@ void sn_pci_fixup_slot(struct pci_dev *dev)
                pcidev_info->pdi_sn_irq_info = NULL;
                kfree(sn_irq_info);
        }
+
+       /*
+        * MSI currently not supported on altix.  Remove this when
+        * the MSI abstraction patches are integrated into the kernel
+        * (sometime after 2.6.16 releases)
+        */
+       dev->no_msi = 1;
 }
 
 /*