[PATCH] altix: disable msi for all altix pci devices

From: Mark Maule <maule_at_sgi.com>
Date: 2006-01-28 06:59:07
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>

Index: linux-2.6.14/arch/ia64/sn/kernel/io_init.c
===================================================================
--- linux-2.6.14.orig/arch/ia64/sn/kernel/io_init.c	2006-01-10 09:29:57.172407877 -0600
+++ linux-2.6.14/arch/ia64/sn/kernel/io_init.c	2006-01-25 09:50:00.308356617 -0600
@@ -407,6 +407,13 @@
 		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;
 }
 
 /*
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Sat Jan 28 06:59:49 2006

This archive was generated by hypermail 2.1.8 : 2006-01-28 06:59:59 EST