From: Brice Goglin Date: Mon, 18 Dec 2006 10:51:22 +0000 (+0100) Subject: myri10ge: make msi configurable at runtime through sysfs X-Git-Tag: v2.6.20-rc3~56^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3621cec5b5847348248e749c647219f409550f2f;p=pandora-kernel.git myri10ge: make msi configurable at runtime through sysfs Now that IRQ are requested is called on open() and freed on close(), we can safely switch from/to MSI without unloading the module. We are guaranteed to correctly free IRQ even if the sysfs file got written in the meantime since the MSI initialization is stored in mgp->msi_enabled. Signed-off-by: Brice Goglin Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed