summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Maule <maule@sgi.com>2006-01-27 13:59:07 -0600
committerTony Luck <tony.luck@intel.com>2006-02-02 13:23:02 -0800
commita80dcc0b9660b01a2cc1c0faa8f6095970f38730 (patch)
tree6daa36d0ba71642872e775de6d39a61146a89ffd
parent689388bbf8c5c1966b6a67fa427299f90cf83b99 (diff)
downloadlinux-3.10-a80dcc0b9660b01a2cc1c0faa8f6095970f38730.tar.gz
linux-3.10-a80dcc0b9660b01a2cc1c0faa8f6095970f38730.tar.bz2
linux-3.10-a80dcc0b9660b01a2cc1c0faa8f6095970f38730.zip
[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>
-rw-r--r--arch/ia64/sn/kernel/io_init.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/ia64/sn/kernel/io_init.c b/arch/ia64/sn/kernel/io_init.c
index a4c78152b33..6dbb7fca1c5 100644
--- a/arch/ia64/sn/kernel/io_init.c
+++ b/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;
}
/*