Browse Source

[IA64-SGI] disable msi for all altix pci devices

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>
Mark Maule 19 years ago
parent
commit
a80dcc0b96
1 changed files with 7 additions and 0 deletions
  1. 7 0
      arch/ia64/sn/kernel/io_init.c

+ 7 - 0
arch/ia64/sn/kernel/io_init.c

@@ -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;
 }
 
 /*